diff --git a/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbErrorCodeMessages.cs b/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbErrorCodeMessages.cs
new file mode 100644
index 00000000..4d0e750b
--- /dev/null
+++ b/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbErrorCodeMessages.cs
@@ -0,0 +1,755 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FirebirdSql.Data.FirebirdClient;
+///
+/// Firebird Error messages.
+///
+/// Messages are taken from documentation at: https://ib-aid.com/download/docs/firebird-language-reference-2.5/fblangref25-appx02-sqlcodes.html
+///
+public partial class FbErrorCodes
+{
+ public static string GetMessage(int code) =>
+ code switch
+ {
+ SegmentBuffer => "Segment buffer length shorter than expected.",
+ FromNoMatch => "No match for first value expression.",
+ NoRecord => "Invalid database key.",
+ SegstrEof => "Attempted retrieval of more segments than exist.",
+ StreamEof => "Attempt to fetch past the last record in a record stream.",
+ BadDebugFormat => "Bad debug info format.",
+ NonSqlSecurityRel => "Table/procedure has non-SQL security class defined.",
+ NonSqlSecurityFld => "Column has non-SQL security class defined.",
+ DsqlProcedureUseError => "Procedure @1 does not return any values.",
+ UsernameTooLong => "The username entered is too long. Maximum length is 31 bytes.",
+ PasswordTooLong => "The password specified is too long. Maximum length is 8 bytes.",
+ UsernameRequired => "A username is required for this operation.",
+ PasswordRequired => "A password is required for this operation.",
+ BadProtocol => "The network protocol specified is invalid.",
+ DupUsernameFound => "A duplicate user name was found in the security database.",
+ UsernameNotFound => "The user name specified was not found in the security database.",
+ ErrorAddingUserRecord => "An error occurred while attempting to add the user.",
+ ErrorModifyingUserRecord => "An error occurred while attempting to modify the user record.",
+ ErrorDeletingUserRecord => "An error occurred while attempting to delete the user record.",
+ ErrorUpdatingSecurityDb => " An error occurred while updating the security database.",
+ DsqlConstantError => "Data type for constant unknown.",
+ DsqlInvalidLabel => "Invalid label @1 @2 in the current scope.",
+ DsqlDatatypesNotComparable => "Datatypes @1 are not comparable in expression @2.",
+ InvalidRequestBlr => "Invalid request BLR at offset @1.",
+ SyntaxError => "BLR syntax error: expected @1 at offset @2, encountered @3.",
+ ContextInUse => "Context already in use (BLR error).",
+ ContextNotDefined => "Context not defined (BLR error).",
+ BadParameterNum => "Bad parameter number.",
+ InvalidSdl => "Invalid slice description language at offset @1.",
+ DsqlCommandError => "DSQL: Invalid command.",
+ DsqlInternalError => "DSQL: Internal error.",
+ DsqlDuplicateOption => "DSQL: Option specified more than once.",
+ DsqlUnknownTransaction => "Unknown transaction option.",
+ DsqlInvalidArray => "DSQL: Invalid array reference.",
+ CommandEnd => "Unexpected end of command.",
+ UnknownToken => "Unknown token.",
+ DsqlUnknownToken => "DSQL: Token unknown - line @1, column @2.",
+ DsqlInvalidAggregate => "DSQL: Invalid aggregate reference.",
+ InvalidBlobId => "Invalid blob id.",
+ CseNotSupported => "Client/Server Express not supported in this release.",
+ TokenTooLong => "Token size exceeds limit.",
+ InvalidStringConstant => "A string constant is delimited by double quotes.",
+ DateTypeMismatch => "DATE must be changed to TIMESTAMP.",
+ SqlDialectDatatypeNotSupported => "Client SQL dialect @1 does not support reference to @2 datatype.",
+ DependOnUncommittedRel => "You created an indirect dependency on uncommitted metadata. You must roll back the current transaction.",
+ DsqlInvalidColumnPosition => "DSQL: Invalid column position used in the @1 clause.",
+ DsqlWhereOnAggregate => "DSQL: Cannot use an aggregate function in a WHERE clause, use HAVING instead.",
+ DsqlGroupOnAggregate => "DSQL: Cannot use an aggregate function in a GROUP BY clause.",
+ DsqlAggregateColumnError => "DSQL: Invalid expression in the @1 (not contained in either an aggregate function or the GROUP BY clause).",
+ DsqlAggregateHavingError => "DSQL: Invalid expression in the @1 (neither an aggregate function nor a part of the GROUP BY clause).",
+ DsqlNestedAggregateError => "DSQL: Nested aggregate functions are not allowed.",
+ MalformedString => "Malformed string.",
+ RangedCommandEnd => "Unexpected end of command - line @1, column @2.",
+ DsqlMaxSortItems => "DSQL: Cannot sort on more than 255 items.",
+ DsqlMaxGroupItems => "DSQL: Cannot group on more than 255 items.",
+ DsqlConflictingSortField => "DSQL: Cannot include the same field (@1.@2) twice in the ORDER BY clause with conflicting sorting options.",
+ DsqlDerivedTableMoreColumns => "DSQL: Column list from derived table @1 has more columns than the number of items in its SELECT statement.",
+ DsqlDerivedTableLessColumns => "DSQL: Column list from derived table @1 has less columns than the number of items in its SELECT statement.",
+ DsqlDerivedFieldUnnamed => "DSQL: No column name specified for column number @1 in derived table @2.",
+ DsqlDerivedFieldDupName => "DSQL: Column @1 was specified multiple times for derived table @2.",
+ DsqlDerivedAliasSelect => "Internal dsql error: alias type expected by pass1_expand_select_node.",
+ DsqlDerivedAliasField => "Internal dsql error: alias type expected by pass1_field",
+ DsqlAutoFieldBadPos => "Internal dsql error: column position out of range in pass1_union_auto_cast.",
+ DsqlCteWrongReference => "DSQL: Recursive CTE member (@1) can refer itself only in FROM clause.",
+ DsqlCteCycle => "DSQL: CTE '@1' has cyclic dependencies.",
+ DsqlCteOuterJoin => "DSQL: Recursive member of CTE can't be member of an outer join.",
+ DsqlCteMultipleReferences => "DSQL: Recursive member of CTE can't reference itself more than once.",
+ DsqlCteNotUnion => "DSQL: Recursive CTE (@1) must be an UNION.",
+ DsqlCteNonrecursAfterRecurs => "DSQL: CTE '@1' defined non-recursive member after recursive.",
+ DsqlCteWrongClause => "DSQL: Recursive member of CTE '@1' has @2 clause.",
+ DsqlCteUnionAll => "DSQL: Recursive members of CTE (@1) must be linked with another members via UNION ALL.",
+ DsqlCteMissNonrecursive => "DSQL: Non-recursive member is missing in CTE '@1'.",
+ DsqlCteNestedWith => "DSQL: WITH clause can't be nested.",
+ DsqlColumnMoreThanOnceUsing => "DSQL: Column @1 appears more than once in USING clause.",
+ DsqlCteNotUsed => "DSQL: CTE \"@1\" is not used in query.",
+ LikeEscapeInvalid => "Invalid ESCAPE sequence.",
+ ExtractInputMismatch => "Specified EXTRACT part does not exist in input datatype.",
+ ReadOnlyUpdate => "Attempted update of read-only table.",
+ ReadOnlyView => "Cannot update read-only view @1.",
+ NonUpdatable => "Not updatable.",
+ ConstraintOnView => "Cannot define constraints on views.",
+ ReadOnlyColumn => "Attempted update of read - only column.",
+ DsqlBaseTable => "DSQL: @1 is not a valid base table of the specified view.",
+ SpecifyFieldError => "Must specify column name for view select expression.",
+ NumFieldError => "Number of columns does not match select list.",
+ NoDbKey => "Database key not available for multi-table views.",
+ ProcMismatch => "Input parameter mismatch for procedure @1.",
+ ExternalFunctionError => "External functions cannot have morethan 10 parametrs.",
+ ProcOutParamMismatch => "Output parameter mismatch for procedure @1.",
+ FuncMismatch => "Function @1 could not be matched.",
+ InvalidDimension => "Column not array or invalid dimensions (expected @1, encountered @2).",
+ ReturnModeError => "Return mode by value not allowed for this data type.",
+ ArrayMaxDimensions => "Array data type can use up to @1 dimensions.",
+ FuncNotDefined => "Function @1 is not defined.",
+ DynamicFieldAmbiguous => "Ambiguous column reference.",
+ DsqlAmbiguousFieldName => "Ambiguous field name between @1 and @2.",
+ GeneratorNotDefined => "Generator @1 is not defined.",
+ StreamNotDefined => "Reference to invalid stream number.",
+ CharsetNotFound => "CHARACTER SET @1 is not defined.",
+ ProcNotDefined => "Procedure @1 is not defined.",
+ ErrorCodeNotDefined => "Status code @1 unknown.",
+ ExceptionCodeNotDefined => "Exception @1 not defined.",
+ RefConstraintNotFound => "Name of Referential Constraint not defined in constraints table.",
+ GrantObjNotFound => "Could not find table/procedure for GRANT.",
+ TextSubtype => "Implementation of text subtype @1 not located.",
+ DsqlDatatypeError => "DSQL: Unknown data type.",
+ DsqlRelationError => "DSQL: Table unknown.",
+ DsqlProcedureError => "DSQL: Procedure unknown.",
+ CollationNotFound => "Collation @1 for character set @2 is not defined.",
+ CollationNotForCharset => "Collation @1 is not valid for specified character set.",
+ DsqlTriggerError => "Unknown trigger.",
+ AliasConflictError => "Alias @1 conflicts with an alias in the same statement.",
+ ProcedureConflictError => "Alias @1 conflicts with a procedure in the same statement.",
+ RelationConflictError => "Alias @1 conflicts with a table in the same statement.",
+ DsqlNoRelationAlias => "DSQL: There is no alias or table named @1 at this scope level.",
+ NoIndexName => "There is no index @1 for table @2.",
+ CollationRequiresText => "Invalid use of CHARACTER SET or COLLATE.",
+ DsqlBlobTypeUnknown => "BLOB subtype @1 is not defined.",
+ BadDefaultValue => "Can not define a not null column with NULL as default value.",
+ InvalidClause => "Invalid clause - '@1'.",
+ TooManyContexts => "Too many Contexts of Relation/Procedure/Views. Maximum allowed is 255.",
+ BadLimitParam => "Invalid parameter to FIRST. Only integers >= 0 are allowed.",
+ BadSkipParam => "Invalid parameter to SKIP. Only integers >= 0 are allowed.",
+ BadSubstringOffset => "Invalid offset parameter @1 to SUBSTRING. Only positive integers are allowed.",
+ BadSubstringLength => "Invalid length parameter @1 to SUBSTRING. Negative integers are not allowed.",
+ CharsetNotInstalled => "CHARACTER SET @1 is not installed.",
+ CollationNotInstalled => "COLLATION @1 for CHARACTER SET @2 is not installed.",
+ SubtypeForInternalUse => "Blob subtypes bigger than 1 (text) are for internal use only.",
+ FieldNotDefined => "Column @1 is not defined in table @2.",
+ GrantFieldNotfound => "Could not find column for GRANT.",
+ FieldNotDefinedInProc => "Column @1 is not defined in procedure @2.",
+ DsqlFieldError => "DSQL: Unknown column.",
+ DsqlBlobError => "DSQL: Column is not a BLOB.",
+ DsqlSubselectError => "DSQL: Subselect illegal in this context.",
+ DsqlLineColError => "DSQL: At line @1, column @2.",
+ DsqlUnknownPos => "DSQL: At unknown line and column.",
+ DsqlNoDupName => "Column @1 cannot be repeated in @2 statement.",
+ OrderByError => "Invalid ORDER BY clause.",
+ RelationNotDefined => "Table @1 is not defined.",
+ DomainNotDefined => "Domain @1 is not defined.",
+ WalWriterError => "WAL Writer error.",
+ LogHeaderSmall => "Invalid version of log file @1.",
+ LogHeaderInvalidVersion => "Log file @1 not latest in the chain but open flag still set.",
+ LogHeaderOpenFlag2 => "Log file @1 not closed properly; database recovery may be required.",
+ LogHeaderDiffDbname => "Database name in the log file @1 is different.",
+ LogFileUnexpectedEof => "Unexpected end of log file @1 at offset @2.",
+ LogRecordIncomplete => "Incomplete log record at offset @1 in log file @2.",
+ LogRecordHeaderSmall2 => "Log record header too small at offset @1 in log file @.",
+ LogBlockSmall => "Log block too small at offset @1 in log file @2.",
+ CacheTooSmall => "Insufficient memory to allocate page buffer cache.",
+ LogSizeTooSmall => "Log size too small.",
+ PartitionTooSmall => "Log partition size too small.",
+ NoWriteAheadLog => "Database does not use Write-ahead Log.",
+ StartCacheManagerForWal => "WAL defined; Cache Manager must be started first.",
+ CacheRedef => "Cache redefined.",
+ LogRedef => "Log redefined.",
+ PartitionNotSupported => "Partitions not supported in series of log file specification.",
+ LogLengthSpec => "Total length of a partitioned log must be specified.",
+ NoStreamPlan => "Table @1 is not referenced in plan.",
+ StreamTwice => "Table @1 is referenced more than once in plan; use aliases to distinguish.",
+ DsqlSelfJoinError => "DSQL: The table @1 is referenced twice; use aliases to differentiate.",
+ DuplicateBaseTable => "Table @1 is referenced twice in view; use an alias to distinguish.",
+ ViewAlias => "View @1 has more than one base table; use aliases to distinguish.",
+ ComplexView => "Navigational stream @1 references a view with more than one base table.",
+ StreamNotFound => "Table @1 is referenced in the plan but not the from list.",
+ IndexUnused => "Index @1 cannot be used in the specified plan.",
+ PrimaryKeyNotNull => "Column used in a PRIMARY constraint must be NOT NULL.",
+ RefConstraintUpdate => "Cannot update constraints (RDB$REF_CONSTRAINTS).",
+ CheckConstraintUpdate => "Cannot update constraints (RDB$CHECK_CONSTRAINTS).",
+ CheckConstraintDelete => "Cannot delete CHECK constraint entry (RDB$CHECK_CONSTRAINTS).",
+ RelConstraintUpdate => "Cannot update constraints (RDB$RELATION_CONSTRAINTS).",
+ InvalidConstraintType => "Internal gds software consistency check (invalid RDB$CONSTRAINT_TYPE).",
+ CheckConstraint => "Operation violates check constraint @1 on view or table @2.",
+ UpdateInsertDoesntMatchPrimaryKey => "UPDATE OR INSERT field list does not match primary key of table @1.",
+ UpdateInsertDoesntMatchMatching => "UPDATE OR INSERT field list does not match MATCHING clause.",
+ DsqlCountMismatch => "DSQL: Count of column list and variable list do not match.",
+ TransliterationFailed => "Cannot transliterate character between character sets.",
+ DynamicDatatypeInvalid => "Cannot change datatype for column @1. Changing datatype is not supported for BLOB or ARRAY columns.",
+ DynamicDependencyExists => "Column @1 from table @2 is referenced in @3.",
+ InvalidOperator => "Invalid comparison operator for find operation.",
+ InvalidBlobOperation => "Attempted invalid operation on a BLOB.",
+ BlobNotSupported => "BLOB and array data types are not supported for @1 operation.",
+ DataOperationNotSupported => "Data operation not supported.",
+ OutOfBounds => "Subscript out of bounds.",
+ NullSegmentKey => "Null segment of UNIQUE KEY.",
+ StrConvertError => "Conversion error from string \"@1\".",
+ NoFilter => "Filter not found to convert type @1 to type @2.",
+ BlobConvertError => "Unsupported conversion to target type BLOB (subtype @1).",
+ ArrayConvertError => "Unsupported conversion to target type ARRAY.",
+ DsqlCursorCloseError => "DSQL: Attempt to reclose a closed cursor.",
+ DsqlCursorRedefined => "DSQL: Statement already has a cursor @1 assigned.",
+ DsqlCursorNotFound => "DSQL: Cursor @1 is not found in the current context.",
+ DsqlCursorExists => "DSQL: Cursor @1 already exists in the current context.",
+ DsqlCursorRelAmbiguous => "DSQL: Relation @1 is ambiguous in cursor @2.",
+ DsqlCursorRelNotFound => "DSQL: Relation @1 is not found in cursor @2.",
+ DsqlCursorNotOpen => "DSQL: Cursor is not open.",
+ DsqlDeclarationError => "DSQL: Invalid cursor declaration.",
+ DsqlCursorOpenError => "DSQL: Attempt to reopen an open cursor.",
+ DsqlCursorInvalid => "DSQL: Empty cursor name is not allowed.",
+ DsqlCursorError => "DSQL: Invalid cursor reference.",
+ NoCurrentRecord => "No current record for fetch operation.",
+ DsqlCursorNotUpdatable => "DSQL: Cursor @1 is not updatable.",
+ DsqlRequestUnknown => "DSQL: Request unknown.",
+ DsqlOpenCursorRequest => "DSQL: The prepare statement identifies a prepare statement with an open cursor.",
+ ForeignKeyConstraintViolation => "Violation of FOREIGN KEY constraint \"@1\" on table \"@2\".",
+ ForeignKeyTargetDoesntExist => "Foreign key reference target does not exist.",
+ ForeignKeyReferencesPresent => "Foreign key references are present for the record.",
+ DsqlCreateDbPrepareError => "DSQL: Cannot prepare a CREATE DATABASE/SCHEMA statement.",
+ TransactionInvalid => "Transaction marked invalid by I/O error.",
+ NoPriv => "No permission for @1 access to @2 @3.",
+ InsufficientServicePrivileges => "Service @1 requires SYSDBA permissions. Reattach to the Service Manager using the SYSDBA account",
+ NotRelationOwner => "Only the owner of a table may reassign ownership.",
+ GrantNoPriv => "User does not have GRANT privileges for operation.",
+ GrantNoPrivOnBase => "User does not have GRANT privileges on base table/view for operation.",
+ ExistingPrivMod => "Cannot modify an existing user privilege.",
+ StreamCrack => "The current position is on a crack.",
+ StreamBof => "Illegal operation when at beginning of stream.",
+ DsqlFileLengthError => "DSQL: Preceding file did not specify length, so @1 must include starting page number.",
+ DsqlShadowNumberError => "Shadow number must be a positive integer.",
+ NodeError => "Gen.c: node not supported.",
+ NodeNameError => "A node name is not permitted in a secondary, shadow, cache or log file name.",
+ CorruptDataError => "Sort error: corruption in data structure.",
+ DbOrFileExists => "Database or file exists.",
+ DsqlMaxArrDimensionExceeded => "DSQL: Array declared with too many dimensions.",
+ DsqlArrRangeError => "Illegal array dimension range.",
+ DsqlFieldRef => "Inappropriate self-reference of column.",
+ DsqlDbkeyFromNonTable => "Cannot SELECT RDB$DB_KEY from a stored procedure.",
+ DsqlUdfReturnPosError => "External function should have return position between 1 and @1.",
+ DsqlTypeNotSupportExtTab => "Data type @1 is not supported for EXTERNAL TABLES. Relation '@2', field '@3'.",
+ NoMetaUpdate => "Unsuccessful metadata update.",
+ SysTriggerUpdate => "Cannot modify or erase a system trigger.",
+ DsqlNoBlobArray => "DSQL: Array/BLOB/DATE data types not allowed in arithmetic.",
+ ReftableRequiresPrimaryKey => "\"REFERENCES table\" without \"(column)\" requires PRIMARY KEY on referenced table.",
+ GeneratorName => "GENERATOR @1.",
+ UdfName => "UDF @1.",
+ MustHavePhysField => "Can't have relation with only computed fields or constraints.",
+ DsqlTableNotFound => "DSQL: Table @1 does not exist.",
+ DsqlViewNotFound => "DSQL: View @1 does not exist.",
+ DsqlNoArrayOnCompField => "DSQL: Array and BLOB data types not allowed in computed field.",
+ DsqlOnlyCanSubscriptArray => "DSQL: Scalar operator used on field @1 which is not an array.",
+ DynDomainNameExists => "Cannot rename domain @1 to @2. A domain with that name already exists.",
+ DynFieldNameExists => "Cannot rename column @1 to @2. A column with that name already exists in table @3.",
+ RelationLock => "Lock on table @1 conflicts with existing lock.",
+ RecordLock => "Requested record lock conflicts with existing lock.",
+ RangeInUse => "Refresh range number @1 already in use.",
+ PrimaryKeyOnForeignDel => "Cannot delete PRIMARY KEY being used in FOREIGN KEY definition.",
+ IntegrityIndexDel => "Cannot delete index used by an Integrity Constraint.",
+ IntegrityIndexMod => "Cannot modify index used by an Integrity Constraint.",
+ CheckTrigDel => "Cannot delete trigger used by a CHECK Constraint.",
+ ConstraintFieldDel => "Cannot delete column being used in an Integrity Constraint.",
+ Dependency => "There are @1 dependencies.",
+ DelLastField => "Last column in a table cannot be deleted.",
+ IntegrityIndexDeactivate => "Cannot deactivate index used by an integrity constraint.",
+ IntegDeactivatePrimary => "Cannot deactivate index used by a PRIMARY/UNIQUE constraint.",
+ CheckTriggerUpdate => "Cannot update trigger used by a CHECK Constraint.",
+ ConstraintFieldRename => "Cannot rename column being used in an Integrity Constraint.",
+ IntegrityIndexSegmentDel => "Cannot delete index segment used by an Integrity Constraint.",
+ IntegrityIndexSegmentMod => "Cannot update index segment used by an Integrity Constraint.",
+ NotValid => "Validation error for column @1, value \"@2\".",
+ NotValidForVar => "Validation error for variable @1, value \"@2\".",
+ NotValidFor => "Validation error for @1, value \"@2\".",
+ DsqlDuplicateSpec => "Duplicate specification of @1- not supported.",
+ DsqlImplicitDomainName => "Implicit domain name @1 not allowed in user created domain.",
+ PrimaryKeyRequired => "Primary key required on table @1.",
+ ForeignKeyNotFound => "Non-existent PRIMARY or UNIQUE KEY specified for FOREIGN KEY.",
+ IndexCreateError => "Cannot create index @1.",
+ IndexSegmentError => "Segment count of 0 defined for index @1.",
+ IndexKeyError => "Too many keys defined for index @1.",
+ KeyFieldError => "Too few key columns found for index @1 (incorrect column name?).",
+ KeyTooBig => "Key size exceeds implementation restriction for index \"@1\".",
+ ExtErr => "@1 extension error.",
+ BadBlobType => "Invalid BLOB type for operation.",
+ BlobIndexError => "Attempt to index BLOB column in index @1.",
+ ArrayIndexError => "Attempt to index array column in index @1.",
+ BadPageType => "Page @1 is of wrong type (expected @2, found @3).",
+ PageTypeError => "Wrong page type.",
+ NoSegmentsError => "Segments not allowed in expression index @1.",
+ RecordSizeError => "New record size of @1 bytes is too big.",
+ MaxIndex => "Maximum indexes per table (@1) exceeded.",
+ RequestMaxClonesExceeded => "Too many concurrent executions of the same request.",
+ NoFieldAccess => "Cannot access column @1 in view @2.",
+ FbArithmeticException => "Arithmetic exception, numeric overflow, or string truncation.",
+ ConcatOverflow => "Concatenation overflow. Resulting string cannot exceed 32K in length.",
+ NoDuplication => "Attempt to store duplicate value (visible to active transactions) in unique index \"@1\".",
+ UniqueKeyViolation => "Violation of PRIMARY or UNIQUE KEY constraint \"@1\" on table \"@2\".",
+ DsqlFeatureNotSupportedOds => "DSQL: Feature not supported on ODS version older than @1.@2.",
+ WrongArgNum => "Wrong number of arguments on call.",
+ DsqlSqldaError => "DSQL: SQLDA missing or incorrect version, or incorrect number/type of variables.",
+ DsqlVarCountError => "DSQL: Count of read - write columns does not equal count of values.",
+ DsqlFunctionError => "Unknown function.",
+ DsqlSqldaValueError => "Incorrect values within SQLDA structure.",
+ DsqlTooOldOds => "ODS versions before ODS@1 are not supported.",
+ ColNameError => "Only simple column names permitted for VIEW WITH CHECK OPTION.",
+ WhereError => "No WHERE clause for VIEW WITH CHECK OPTION.",
+ TableViewError => "Only one table allowed for VIEW WITH CHECK OPTION.",
+ DistinctError => "DISTINCT, GROUP or HAVING not permitted for VIEW WITH CHECK OPTION.",
+ SubqueryError => "No subqueries permitted for VIEW WITH CHECK OPTION.",
+ SingletonSelectError => "Multiple rows in singleton select.",
+ ExtReadonlyError => "Cannot insert because the file is readonly or is on a read only medium.",
+ ExtFileUnsupportedOperation => "Operation not supported for EXTERNAL FILE table @1.",
+ IscSqlDialectConflictNum => "DB dialect @1 and client dialect @2 conflict with respect to numeric precision @3.",
+ UpdateInsertWithComplexView => "UPDATE OR INSERT without MATCHING could not be used with views based on more than one table.",
+ DsqlIncompatibleTriggerType => "DSQL: Incompatible trigger type.",
+ DsqlDbTriggerTypeCannotChange => "Database trigger type can't be changed.",
+ ReadOnlyTransaction => "Attempted update during read - only transaction.",
+ BlobNoWrite => "Attempted write to read-only BLOB.",
+ ReadOnly => "Operation not supported.",
+ ReadOnlyDatabase => "Attempted update on read - only database.",
+ MustBeDialect2AndUp => "SQL dialect @1 is not supported in this database.",
+ DdlNotAllowedByDbSqlDialect => "Metadata update statement is not allowed by the current database SQL dialect @1.",
+ ObsoleteMetadata => "Metadata is obsolete.",
+ WrongOds => "Unsupported on - disk structure for file @1; found @2.@3, support @4.@5.",
+ WrongDynVersion => "Wrong DYN version.",
+ HighMinor => "Minor version too high found @1 expected @2.",
+ NeedDifference => "Difference file name should be set explicitly for database on raw device.",
+ InvalidBookmark => "Invalid bookmark handle.",
+ BadLockLevel => "Invalid lock level @1.",
+ BadLockHandle => "Invalid lock handle.",
+ DsqlStatementHandle => "DSQL: Invalid statement handle.",
+ InvalidDirection => "Invalid direction for find operation.",
+ InvalidKey => "Invalid key for find operation.",
+ InvalidKeyPosition => "Invalid key position.",
+ DynCharFieldTooSmall => "New size specified for column @1 must be at least @2 characters.",
+ DynInvalidDataTypeConversion => "Cannot change datatype for @1.Conversion from base type @2 to @3 is not supported.",
+ DynDatatypeConversionError => "Cannot change datatype for column @1 from a character type to a non-character type.",
+ MaxCollationsPerCharset => "Maximum number of collations per character set exceeded.",
+ InvalidCollationAttr => "Invalid collation attributes.",
+ DynScaleTooBig => "New scale specified for column @1 must be at most @2.",
+ DynPrecisionTooSmall => "New precision specified for column @1 must be at least @2.",
+ FieldRefError => "Invalid column reference.",
+ FieldAggregateError => "Column used with aggregate.",
+ PrimaryKeyExists => "Attempt to define a second PRIMARY KEY for the same table.",
+ KeyFieldCountError => "FOREIGN KEY column count does not match PRIMARY KEY.",
+ ExpressionEvalError => "Expression evaluation not supported.",
+ DateRangeExceeded => "Value exceeds the range for valid dates.",
+ RangeNotFound => "Refresh range number @1 not found.",
+ BadChecksum => "Bad checksum.",
+ CacheRestart => "Restart shared cache manager.",
+ ShutdownWarning => "Database @1 shutdown in @2 seconds.",
+ VersionError => "Too many versions.",
+ PrecisionError => "Precision must be from 1 to 18.",
+ ScaleBetweenZeroAndPrecision => "Scale must be between zero and precision.",
+ ShortIntExpected => "Short integer expected.",
+ LongIntExpected => "Long integer expected",
+ UShortIntExcepted => "Unsigned short integer expected.",
+ PositiveNumExpected => "Positive value expected.",
+ DbNameAlreadyGiven => "Database file name (@1) already given.",
+ GbakUnknownSwitch => "GBak: Unknown switch.",
+ GstatUnknownSwitch => "GStat: Unknown switch.",
+ WrongAccessModeVal => "Wrong value for access mode.",
+ GfixInvalidSwitch => "Gfix: Invalid switch @1.",
+ BadDbKey => "Invalid database key.",
+ WrongWriteModeVal => "Wrong value for write mode.",
+ GbakPageSizeMissing => "GBak: Page size parameter missing.",
+ GstatRetryDbName => "Gstat: Please retry, giving a database name.",
+ WrongReserveSpaceValue => "Wrong value for reserve space.",
+ GstatWrongOds => "Gstat: Wrong ODS version, expected @1, encountered @2.",
+ GbakPageSizeTooBig => "Page size specified (@1) greater than limit (16384 bytes).",
+ GfixIncompatibleSwitch => "Gfix: Incompatible switch combination.",
+ GstatUnexpectedEof => "Gstat: Unexpected end of database file.",
+ GbakRedirectOutputMissing => "Gbak: Redirect location for output is not specified.",
+ FbsvcmgrUnknownTag => "Unknown tag (@1) in info_svr_db_info block after isc_svc_query().",
+ GfixReplayRequired => "Gfix: Replay log pathname required.",
+ GbakSwitchesConflict => "Conflicting switches for backup/restore.",
+ FbsvcmgrQueryError => "Unknown tag (@1) in isc_svc_query() results.",
+ BadDbParamForm => "Unrecognized database parameter block.",
+ GfixPageBufferRequired => "Gfix: Number of page buffers for cache required.",
+ SwitchUnknown => "Unknown switch \"@1\".",
+ GbakUnknownDevice => "Gbak: Device type @1 not known.",
+ BadRequestHandle => "Invalid request handle.",
+ GfixNumericValueRequired => "Numeric value required.",
+ GbakNoProtection => "Protection is not there yet.",
+ BadBlobHandle => "Invalid BLOB handle.",
+ GfixPosiiveValRequired => "Gfix: Positive numeric value required.",
+ GbakPageSizeNotAllowed => "Page size is allowed only on restore or create.",
+ BadBlobId => "Invalid BLOB ID.",
+ GfixSweepTransactionRequired => "Gfix: Number of transactions per sweep required.",
+ GbakMultiSourceDest => "Gbak: Multiple sources or destinations specified.",
+ BadTransactionParamContent => "Invalid parameter in transaction parameter block.",
+ GbakFilenameMissing => "Gbak: Requires both input and output filenames.",
+ BadTransactionParamForm => "Invalid format for transaction parameter block.",
+ GbakDupInputOutputNames => "Gbak: Input and output must not have the same name.",
+ GfixFullReserveRequired => "Gfix: \"full\" or \"reserve\" required.",
+ BadTransactionHandle => "Invalid transaction handle (expecting explicit transaction start).",
+ GbakInvalidPageSize => "Gbak: Expected page size, encountered \"@1\".",
+ GfixUsernameRequired => "Gfix: User name required.",
+ GbakDbSpecified => "Gbak: REPLACE specified, but the first file @1 is a database.",
+ GfixPasswordRequired => "Gfix: Password required.",
+ GbakDbExists => "Gbak: Database @1 already exists.To replace it, use the -REP switch.",
+ GfixSubsystemName => "Gfix: Subsystem name.",
+ GsecCantOpenDb => "Gsec: Unable to open database.",
+ GbakDeviceNotSpecified => "Gbak: Device type not specified.",
+ GsecSwitchesError => "Gsec: Error in switch specifications.",
+ GfixSecondsRequired => "Gfix: Number of seconds required.",
+ ExcessTransactions => "Attempt to start more than @1 transactions.",
+ GsecNoOperationSpecified => "Gsec: No operation specified.",
+ GfixNum0To32767Required => "Gfix: Numeric value between 0 and 32767 inclusive required.",
+ GsecNoUserName => "Gsec: No user name specified.",
+ GfixNoShutdownType => "Gfix: Must specify type of shutdown.",
+ InappriopriateInfo => "Information type inappropriate for object specified.",
+ InfoNotAvailable => "No information of this type available for object specified.",
+ GsecAddRecError => "Gsec: Add record error.",
+ GsecModifyRecError => "Gsec: Add record error.",
+ GbakBlobInfoFailed => "Gbak: Gds_$blob_info failed.",
+ GfixRetry => "Please retry, specifying an option.",
+ UnknownInfoItem => "Unknown information item.",
+ GsecFindModError => "Gsec: Find / modify record error.",
+ GbakUnknownBlobItem => "Gbak: Unknown BLOB INFO item @1.",
+ IntegrationFail => "Action cancelled by trigger (@1) to preserve data integrity.",
+ GbakGetSegFailed => "Gbak: Gds_$get_segment failed.",
+ GsecRecNotFound => "Gsec: Record not found for user: @1.",
+ GsecDeleteError => "Gsec: Delete record error.",
+ GbakCloseBlobFailed => "Gbak: Gds_$close_blob failed.",
+ GfixRetryDb => "Gfix: Please retry, giving a database name.",
+ GbakOpenBlobFailed => "Gbak: Gds_$open_blob failed.",
+ GsecFindDeleteError => "Gsec: Find / delete record error.",
+ LockConflict => "Lock conflict on no wait transaction.",
+ GbakPutBlrGenIdFailed => "Gbak: Failed in put_blr_gen_id.",
+ GbakUnknownType => "Gbak: Data type @1 not understood.",
+ GbakCompileRequestFailed => "Gbak: Gds_$compile_request failed.",
+ GbakStartRequestFailed => "Gbak: Gds_$start_request failed.",
+ GsecFindDisplayError => "Gsec: Find / display record error.",
+ GbakReceiveFailed => "Gbak: gds_$receive failed.",
+ GstatDbFileOpenError => "Gsec: Can't open database file @1.",
+ GsecInvParam => "Gsec: Invalid parameter, no switch defined.",
+ NoFinish => "Program attempted to exit without finishing database.",
+ GstatReadError => "Gstat: Can't read a database page.",
+ GbakReleaseRequestFailed => "Gbak: Gds_$release_request failed.",
+ GsecOperationSpecified => "Gsec: Operation already specified.",
+ GstatSysMemoryExhausted => "Gstat: System memory exhausted.",
+ GbakDbInfoFailed => "Gbak: gds_$database_info failed.",
+ GsecPasswordSpecified => "Gsec: Password already specified.",
+ GsecUidAlreadySpecified => "Gsec: Uid already specified.",
+ GbakNoDbDescription => "Gbak: Expected database description record.",
+ TransactionNotInLimbo => "Transaction is not in limbo.",
+ GsecGidSpecified => "Gsec: Gid already specified.",
+ GbakDbCreateFailed => "Gbak: Failed to create database @1.",
+ GsecProjectSpecified => "Gsec: Project already specified.",
+ GbakDecompressionLengthError => "Gbak: RESTORE: decompression length error.",
+ NoBlobClose => "BLOB was not closed.",
+ GbakTableMissing => "Gbak: Cannot find table @1.",
+ GsecOrgSpecified => "Gsec: Organization already specified.",
+ GbakBlobColumnMissing => "Gbak: Cannot find column for BLOB.",
+ GsecFirstNameSpecified => "Gsec: First name already specified.",
+ OpenTransaction => "Cannot disconnect database with open transactions (@1 active).",
+ GbakCreateBlobFailed => "Gbak: Gds_$create_blob failed.",
+ GsecMiddleNameSpecified => "Gsec: Middle name already specified.",
+ MessageLengthError => "Message length error ( encountered @1, expected @2).",
+ GbakPutSegmentFailed => "Gbak: Gds_$put_segment failed.",
+ GsecLastNameSpecified => "Gsec: Last name already specified",
+ GbakRecordLengthExpexted => "Expected record length",
+ GsecInvalidSwitch => "Gsec: Invalid switch specified.",
+ GbakInvalidRecordLength => "Gbak: Wrong length record, expected @1 encountered @2.",
+ GbakExpectedDataType => "Gbak: Expected data type.",
+ GsecAmbiguousSwitch => "Gsec: Ambiguous switch specified.",
+ GbakGenIdFailed => "Gbak: Failed in store_blr_gen_id.",
+ GsecNoOpForParamsSpecified => "Gsec: No operation specified for parameters.",
+ NoTransactionForRequest => "No transaction for request.",
+ GbakUnknownRecordType => "Gbak: Do not recognize record type @1.",
+ GsecParamsNotAllowed => "Gsec: No parameters allowed for this operation.",
+ RequestSyncError => "Request synchronization error.",
+ GsecIncompatibleSwitch => "Gsec: Incompatible switches specified.",
+ GbakInvalidBackupVersion => "Gbak: Expected backup version 1..8. Found @1.",
+ WrongDbRequest => "Request referenced an unavailable database.",
+ GbakMissingBackupDesc => "Gbak: Expected backup description record.",
+ GbakStringTruncated => "String truncated.",
+ GbakCantRestoreRecord => "Warning - record could not be restored.",
+ GbakSendFailed => "Gds_$send failed.",
+ BlobNoRead => "Attempted read of a new, open BLOB.",
+ GbakNoTableName => "No table name for data.",
+ BlobOutsideTransaction => "Attempted action on blob outside transaction.",
+ GbakUnexpectedEof => "Gbak: Unexpected end of file on backup file.",
+ GbakDbFormatTooOld => "Database format @1 is too old to restore to.",
+ BlobWrongDb => "Attempted reference to BLOB in unavailable database.",
+ GbakInvalidArrayDimension => "Array dimension for column @1 is invalid.",
+ GbakXdrLengthExpected => "Gbak: Expected XDR record length.",
+ UnresolvedRelation => "Table @1 was omitted from the transaction reserving list.",
+ UnsupportedExtension => "Request includes a DSRI extension not supported in this implementation.",
+ FeatureNotSupported => "Feature is not supported.",
+ RandomMessage => "@1.",
+ FatalConflict => "Unrecoverable conflict with limbo transaction @1.",
+ GfixExceedMax => "Gfix: Internal block exceeds maximum size.",
+ GfixCorruptPool => "Gfix: Corrupt pool.",
+ GfixVirtualMemoryExhausted => "Gfix: Virtual memory exhausted.",
+ GbakOpenBackupError => "Gbak: Cannot open backup file @1.",
+ GfixBadPool => "Gfix: Bad pool id.",
+ GbakOpenError => "Cannot open status and error output file @1.",
+ GfixTransactionNotValid => "Gfix: Transaction state @1 not in valid range.",
+ InternalDbError => "Internal error.",
+ GsecUsernameTooLong => "Gsec: Invalid user name (maximum 31 bytes allowed).",
+ GsecPasswordTooLong => "Warning - maximum 8 significant bytes of password used.",
+ GsecDbAlreadySpecified => "Gsec: Database already specified.",
+ GsecDbAdminAlreadySpecified => "Gsec: Database administrator name already specified.",
+ GsecDbAdminPasswordAlreadySpecified => "Gsec: Database administrator password already specified.",
+ GsecSqlRoleAlreadySpecified => "Gsec: SQL role name already specified.",
+ GfixUnexpectedEoi => "Gfix: Unexpected end of input.",
+ DbHandleNotZero => "Database handle not zero.",
+ TransactionHandleNotZero => "Transaction handle not zero.",
+ GfixReconnectionFail => "Gfix: Failed to reconnect to a transaction in database @1.",
+ TransactionInLimbo => "Transaction in limbo.",
+ TransactionNotInLimbo2 => "Transaction not in limbo.",
+ TransactionOutstanding => "Transaction outstanding.",
+ BadMessageNumber => "Undefined message number.",
+ GfixUnknownTransaction => "Gfix: Transaction description item unknown.",
+ GfixModeRequired => "Gfix: \"read_only\" or \"read_write\" required.",
+ BlockingSignal => "Blocking signal has been received.",
+ GfixPositiveOrZeroNumRequired => "Gfix: Positive or zero numeric value required.",
+ NoArgRead => "Database system cannot read argument @1.",
+ NoArgWrite => "Database system cannot write argument @1.",
+ MiscInterpreted => "@1.",
+ TransactionState => "Transaction @1 is @2.",
+ BadStatementHandle => "Invalid statement handle.",
+ GbakMissingBlockFactorParam => "Gbak: Blocking factor parameter missing.",
+ GbakInvalidBlockFactorParam => "Gbak: Expected blocking factor, encountered \"@1\".",
+ GbakBlockFacSpecified => "Gbak: A blocking factor may not be used in conjunction with device CT.",
+ DynRoleDoesNotExist => "SQL role @1 does not exist.",
+ GbakMissingUsername => "Gbak: User name parameter missing.",
+ GbakPasswordUsername => "Gbak: Password parameter missing.",
+ DynNoGrantAdminOption => "User @1 has no grant admin option on SQL role @2.",
+ LockTimeout => "Lock time-out on wait transaction.",
+ DynUserNotRoleMember => "User @1 is not a member of SQL role @2.",
+ DynDeleteRoleFailed => "@1 is not the owner of SQL role @2.",
+ DynGrantRoleToUser => "@1 is a SQL role and not a user.",
+ DynInvalidSqlRoleName => "User name @1 could not be used for SQL role.",
+ DynDupSqlRole => "SQL role @1 already exists.",
+ DynKeywordSpecForRole => "Keyword @1 can not be used as a SQL role name.",
+ DynRolesNotSupported => "SQL roles are not supported in on older versions of the database. A backup and restore of the database is required.",
+ GbakMissingSkippedBytes => "Gbak: Missing parameter for the number of bytes to be skipped.",
+ GbakInvalidSkippedBytes => "Gbak: Expected number of bytes to be skipped, encountered \"@1\".",
+ DynZeroLengthId => "Zero length identifiers are not allowed.",
+ GbakRestoreCharsetError => "Gbak: Error on charset restore.",
+ GbakRestoreCollationError => "Gbak: Error on collation restore.",
+ GbakReadError => "Gbak: Unexpected I/O error while reading from backup file.",
+ GbakWriteError => "Gbak: Unexpected I/O error while writing to backup file.",
+ DynWrongGttScope => "@1 cannot reference @2.",
+ GbakDbInUse => "Gbak: Could not drop database @1 (database might be in use).",
+ GbakSysMemoryExhausted => "Gbak: System memory exhausted.",
+ BadServiceHandle => "Invalid service handle.",
+ WrongServiceParamBlockVersion => "Wrong version of service parameter block.",
+ UnrecognizedServiceParamBlockVersion => "Unrecognized service parameter block.",
+ ServiceNotDef => "Service @1 is not defined.",
+ DynOdsNotSupportedFeature => "Feature '@1' is not supported in ODS @2.@3.",
+ GbakRestoreRoleFailed => "Gbak: SQL role restore failed.",
+ GbakRoleParamMissing => "Gbak: SQL role parameter missing.",
+ GbakPageBuffersMissing => "Gbak: Page buffers parameter missing.",
+ GbakPageBuffersWrongParam => "Gbak: Expected page buffers, encountered \"@1\".",
+ GbakPageBuffersRestore => "Gbak: Page buffers is allowed only on restore or create.",
+ GbakInvalidSize => "Gbak: Size specification either missing or incorrect for file @1.",
+ GbakFileOutOfSequence => "Gbak: File @1 out of sequence.",
+ GbakJoinFileMissing => "Gbak: Can't join - one of the files missing.",
+ GbakStdinNotSupported => "Gbak: Standard input is not supported when using join operation.",
+ GbakStdoutNotSupported => "Gbak: Standard output is not supported when using split operation.",
+ GbakBackupCorrupt => "Gbak: Backup file @1 might be corrupt.",
+ GbakMissingDbFileSpec => "Gbak: Database file specification missing.",
+ GbakHeaderWriteFailed => "Gbak: Can't write a header record to file @1.",
+ GbakDiskSpaceExhausted => "Gbak: Free disk space exhausted.",
+ GbakSizeLessThanMinimum => "Gbak: File size given (@1) is less than minimum allowed (@2).",
+ GbakSvcNameMissing => "Gbak: Service name parameter missing.",
+ GbakNotOwner => "Gbak: Cannot restore over current database, must be SYSDBA or owner of the existing database.",
+ GbakModeRequired => "Gbak: \"read_only\" or \"read_write\" required.",
+ GbakJustData => "Gbak: Just data ignore all constraints etc.",
+ GbakDataOnly => "Restoring data only ignoring foreign key, unique, not null & other constraints.",
+ IndexName => "INDEX @1.",
+ ExceptionName => "EXCEPTION @1.",
+ ColumnName => "COLUMN @1.",
+ UnionNotSupported => "Union not supported.",
+ DsqlConstructNotSupported => "DSQL: Unsupported DSQL construct.",
+ DsqlIllegalValKeywordUsage => "Illegal use of keyword VALUE.",
+ TableName => "TABLE @1.",
+ ProcedureName => "PROCEDURE @1.",
+ DsqlDomainNotFound => "Specified domain or source column @1 does not exist.",
+ DsqlVarConflict => "Variable @1 conflicts with parameter in same procedure.",
+ ServerVersionTooOld => "Server version too old to support all CREATE DATABASE options.",
+ CannotDelete => "Cannot delete.",
+ SortError => "Sort error.",
+ ServiceNoExe => "Service @1 does not have an associated executable.",
+ NetLookupError => "Failed to locate host machine.",
+ ServiceUnknown => "Undefined service @1/@2.",
+ HostUnknown => "The specified name was not found in the hosts file or Domain Name Services.",
+ UnpreparedStatement => "Attempt to execute an unprepared dynamic SQL statement.",
+ ServiceInUse => "Service is currently busy: @1.",
+ UserDefinedFunctionException => "A fatal exception occurred during the execution of a user defined function.",
+ LostDbConnection => "Connection lost to database.",
+ NoWriteUserPrivileges => "User cannot write to RDB$USER_PRIVILEGES.",
+ BlobFilterException => "A fatal exception occurred during the execution of a blob filter.",
+ AccessViolationException => "Access violation. The code attempted to access a virtual address without privilege to do so.",
+ DatatypeMisalignmentException => "Datatype misalignment. The attempted to read or write a value that was not stored on a memory boundary.",
+ ArrayBoundsExceededException => "Array bounds exceeded. The code attempted to access an array element that is out of bounds.",
+ FloatDenormalOperandException => "Float denormal operand. One of the floating-point operands is too small to represent a standard float value. ",
+ FloatDivideByZeroException => "Floating-point divide by zero. The code attempted to divide a floating-point value by zero.",
+ FloatInexactResultException => "Floating-point inexact result. The result of a floating-point operation cannot be represented as a decimal fraction .",
+ FloatInvalidOperandException => "Floating-point invalid operand. An indeterminant error occurred during a floating-point operation.",
+ FloatOverflowException => "Floating-point overflow. The exponent of a floating-point operation is greater than the magnitude allowed.",
+ FloatStackCheckException => "Floating-point stack check. The stack overflowed or underflowed as the result of a floating-point operation.",
+ FloatUnderflowException => "Floating-point underflow. The exponent of a floating-point operation is less than the magnitude allowed.",
+ IntegerDivideByZeroException => "Integer divide by zero. The code attempted to divide an integer value by an integer divisor of zero.",
+ IntegerOverflowException => "Integer overflow. The result of an integer operation caused the most significant bit of the result to carry.",
+ UnknownException => "An unspecified exception occurred. Exception number @1.",
+ StackOverflowException => "Stack overflow. The resource requirements of the runtime stack have exceeded the memory available to it.",
+ SegmentationFaultException => "Segmentation Fault. The code attempted to access memory without privileges.",
+ IllegalInstructionException => "Illegal Instruction. The Code attempted to perfrom an illegal operation.",
+ SystemBusException => "Bus Error. The Code caused a system bus error.",
+ FloatingPointException => "Floating Point Error. The Code caused an Arithmetic Exception or a floating point exception.",
+ ExtFileDeleteError => "Cannot delete rows from external files.",
+ ExtFileModifyError => "Cannot update rows in external files.",
+ AdminTaskDenied => "Unable to perform operation. You must be either SYSDBA or owner of the database.",
+ OperationCancelled => "Operation was cancelled.",
+ ServiceNoUser => "User name and password are required while attaching to the services manager.",
+ DatypeNotSupported => "Data type not supported for arithmetic.",
+ DialectNotChanged => "Database dialect not changed.",
+ DatabaseCreateFailed => "Unable to create database @1.",
+ InvalidDialectSpecified => "Database dialect @1 is not a valid dialect.",
+ ValidDbDialects => "Valid database dialects are @1.",
+ InvalidClientDialectSpecified => "Passed client dialect @1 is not a valid dialect.",
+ ValidClientDialects => "Valid client dialects are @1.",
+ ServiceNotSupported => "Services functionality will be supported in a later version of the product.",
+ SavepointNotFound => "Unable to find savepoint with name @1 in transaction context.",
+ BadShutdownMode => "Target shutdown mode is invalid for database \"@1\".",
+ NoUpdate => "Cannot update.",
+ StackTrace => "@1.",
+ ContextVarNotFound => "Context variable @1 is not found in namespace @2.",
+ ContextNamespaceInvalid => "Invalid namespace name @1 passed to @2.",
+ ContextTooBig => "Too many context variables.",
+ ContextBadArgument => "Invalid argument passed to @1.",
+ BlrIdentifierTooLong => "BLR syntax error. Identifier @1... is too long.",
+ InvalidTimePrecision => "Time precision exceeds allowed range (0-@1).",
+ MetWrongGttScope => "@1 cannot depend on @2.",
+ IllegalProcedureType => "Procedure @1 is not selectable (it does not contain a SUSPEND statement).",
+ InvalidSortDatatype => "Datatype @1 is not supported for sorting operation.",
+ CollationName => "COLLATION @1.",
+ DomainName => "DOMAIN @1.",
+ MaxDbPerTransactionAllowed => "A multi database transaction cannot span more than @1 databases.",
+ BadProcBlr => "Error while parsing procedure @1' s BLR.",
+ IndexKeyTooBig => "Index key too big.",
+ DsqlTooManyValues => "DSQL: Too many values ( more than @1) in member list to match against.",
+ DsqlUnsupportedFeatureDialect => "DSQL: Feature is not supported in dialect @1.",
+ BugCheck => "Internal gds software consistency check (@1).",
+ DbCorrupt => "Database file appears corrupt (@1).",
+ IoError => "I/O error for file \"@2\".",
+ MetadataCorrupt => "Corrupt system table.",
+ SysRequest => "Operating system directive @1 failed.",
+ BlockTooBig => "Block size exceeds implementation restriction.",
+ BadOnDiskStructureVersion => "Incompatible version of on-disk structure.",
+ DatabaseCorrupt => "Database corrupted.",
+ BadPage => "Checksum error on database page @1.",
+ BrokenIndex => "Index is broken.",
+ TransactionRequestMismatch => "Transaction - request mismatch (synchronization error).",
+ BadHandleCount => "Bad handle count.",
+ WrongTransactionParamBlockVersion => "Wrong version of transaction parameter block.",
+ WrongBlrVersion => "Unsupported BLR version (expected @1, encountered @2).",
+ WrongDbParamBlockVersion => "Wrong version of database parameter block.",
+ BadDatabase => "Database corrupted.",
+ LockManagerError => "Lock manager error.",
+ SqlError => "SQL error code = @1.",
+ CacheBufferInvalid => "Cache buffer for page @1 invalid.",
+ IndexNotDefined => "There is no index in table @1 with id @2.",
+ LoginAndPasswordNotDefined => "Your user name and password are not defined. Ask your database administrator to set up a Firebird login.",
+ ShutdownInProgress => "Database @1 shutdown in progress.",
+ DatabaseShutdown => "Database @1 shutdown.",
+ ShutdownFailed => "Database shutdown unsuccessful.",
+ DsqlError => "Dynamic SQL Error.",
+ PasswordAttach => "Cannot attach to password database.",
+ PasswordStartTransaction => "Cannot start transaction for password database.",
+ StackLimitInsufficient => "Stack size insufficent to execute current request.",
+ NetworkError => "Unable to complete network request to host \"@1\".",
+ NetConnectError => "Failed to establish a connection.",
+ NetConnectListenError => "Error while listening for an incoming connection.",
+ NetEventConnectError => "Failed to establish a secondary connection for event processing.",
+ NetEventListenError => "Error while listening for an incoming event connection request.",
+ NetReadError => "Error reading data from the connection.",
+ NetWriteError => "Error writing data to the connection.",
+ UnsupportedNetworkDrive => "Access to databases on file servers is not supported.",
+ IoCreateError => "Error while trying to create file.",
+ IoOpenError => "Error while trying to open file.",
+ IoCloseError => "Error while trying to close file.",
+ IoReadError => "Error while trying to read from file.",
+ IoWriteError => "Error while trying to write to file.",
+ IoDeleteError => "Error while trying to delete file.",
+ IoAccessError => "Error while trying to access file.",
+ LoginSameAsRoleName => "Your login @1 is same as one of the SQL role name. Ask your database administrator to set up a valid Firebird login. ",
+ FileInUse => "The file @1 is currently in use by another process. Try again later.",
+ UnexpectedItemInServiceParamBlock => "Unexpected item in service parameter block, expected @1.",
+ ExternFunctionDirectoryError => "Function @1 is in @2, which is not in a permitted directory for external functions.",
+ Io32BitExceededError => "File exceeded maximum size of 2GB. Add another database file or use a 64 bit I/O version of Firebird.",
+ AccessDeniedByAdmin => "Access to @1 \"@2\" is denied by server administrator.",
+ CursorNotOpen => "Cursor is not open.",
+ CursorAlreadyOpen => "Cursor is already open.",
+ ConnectionShutdown => "Connection shutdown.",
+ LoginTooLong => "Login name too long (@1 characters, maximum allowed @2).",
+ BadDbHandle => "Invalid database handle (no active connection).",
+ DbUnavailable => "Unavailable database.",
+ ImplementationExceeded => "Implementation limit exceeded.",
+ TooManyRequests => "Too many requests Symbol: nopoolids",
+ BufferExhausted => "Buffer exhausted.",
+ BufferInUse => "Buffer in use.",
+ RequestInUse => "Request in use",
+ NoLockManager => "No lock manager available.",
+ OperationSystemMemAllocationError => "Unable to allocate memory from operating system.",
+ UpdateConflict => "Update conflicts with concurrent update.",
+ ObjectInUse => "Object @1 is in use.",
+ ShadowAccessed => "Cannot attach active shadow file.",
+ ShadowMissing => "A file in manual shadow @1 is unavailable.",
+ IndexRootPageFull => "Cannot add index, index root page is full.",
+ SortMemError => "Sort error: not enough memory.",
+ RequestDepthExceeded => "Request depth exceeded (Recursive definition?).",
+ SortRecordSizeError => "Sort record size of @1 bytes is too big.",
+ TooManyHandles => "Too many open handles to database.",
+ ServiceAttachError => "Cannot attach to services manager.",
+ ServiceNameMissing => "The service name was not specified.",
+ OptimizerBetweenError => "Unsupported field type specified in BETWEEN predicate.",
+ ExecSqlInvalidArg => "Invalid argument in EXECUTE STATEMENT-cannot convert to string.",
+ ExecSqlInvalidRequest => "Wrong request type in EXECUTE STATEMENT '@1'.",
+ ExecSqlInvalidVariable => "Variable type (position @1) in EXECUTE STATEMENT '@2' INTO does not match returned column type.",
+ ExecSqlMaxCallExceeded => "Too many recursion levels of EXECUTE STATEMENT.",
+ WrongBackupState => "Cannot change difference file name while database is in backup mode.",
+ PartnerIndexIncompatibleType => "Partner index segment no @1 has incompatible data type",
+ BlobTooBig => "Maximum BLOB size exceeded.",
+ RecordLockNotSupported => "Stream does not support record locking.",
+ PartnerIndexNotFound => "Cannot create foreign key constraint @1. Partner index does not exist or is inactive.",
+ TransactionNumExceeded => "Transactions count exceeded. Perform backup and restore to make database operable again.",
+ FieldDisappeared => "Column has been unexpectedly deleted.",
+ ConcurrentTransaction => "Concurrent transaction number is @1.",
+ MaxUsersExceeded => "Maximum user count exceeded. Contact your database administrator",
+ DropDatabaseWithErrors => "Drop database completed with errors.",
+ RecordInLimbo => "Record from transaction @1 is stuck in limbo.",
+ Deadlock => "Deadlock occured.",
+ BadDbFormat => "File @1 is not a valid database.",
+ ConnectionReject => "Connection rejected by remote interface.",
+ CantValidate => "Secondary server attachments cannot validate databases.",
+ CantStartLogging => "Secondary server attachments cannot start logging.",
+ BadDatabaseCreationParams => "Bad parameters on attach or create database.",
+ BadDetach => "Database detach completed with errors.",
+ ConnectionLost => "Connection lost to pipe server.",
+ NoRollback => "No rollback performed.",
+ FirebirdError => "Firebird error.",
+ _ => "Unknown Error code"
+ };
+}
diff --git a/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbErrorCodes.cs b/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbErrorCodes.cs
new file mode 100644
index 00000000..3c93e325
--- /dev/null
+++ b/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbErrorCodes.cs
@@ -0,0 +1,3008 @@
+namespace FirebirdSql.Data.FirebirdClient;
+
+///
+/// Error codes occuring in Firebird database management system.
+///
+/// Messages are taken from documentation at: https://ib-aid.com/download/docs/firebird-language-reference-2.5/fblangref25-appx02-sqlcodes.html
+///
+public static partial class FbErrorCodes
+{
+ ///
+ /// Segment buffer length shorter than expected.
+ ///
+ public const int SegmentBuffer = 335544366;
+ ///
+ /// No match for first value expression.
+ ///
+ public const int FromNoMatch = 335544338;
+ ///
+ /// Invalid database key.
+ ///
+ public const int NoRecord = 335544354;
+ ///
+ /// Attempted retrieval of more segments than exist.
+ ///
+ public const int SegstrEof = 335544367;
+ ///
+ /// Attempt to fetch past the last record in a record stream.
+ ///
+ public const int StreamEof = 335544374;
+ ///
+ /// Bad debug info format.
+ ///
+ public const int BadDebugFormat = 335544875;
+ ///
+ /// Table/procedure has non-SQL security class defined.
+ ///
+ public const int NonSqlSecurityRel = 335544554;
+ ///
+ /// Column has non-SQL security class defined.
+ ///
+ public const int NonSqlSecurityFld = 335544555;
+ ///
+ /// Procedure @1 does not return any values
+ ///
+ public const int DsqlProcedureUseError = 335544668;
+ ///
+ /// The username entered is too long. Maximum length is 31 bytes.
+ ///
+ public const int UsernameTooLong = 335544747;
+ ///
+ /// The password specified is too long. Maximum length is 8 bytes.
+ ///
+ public const int PasswordTooLong = 335544748;
+ ///
+ /// A username is required for this operation.
+ ///
+ public const int UsernameRequired = 335544749;
+ ///
+ /// A password is required for this operation.
+ ///
+ public const int PasswordRequired = 335544750;
+ ///
+ /// The network protocol specified is invalid.
+ ///
+ public const int BadProtocol = 335544751;
+ ///
+ /// A duplicate user name was found in the security database.
+ ///
+ public const int DupUsernameFound = 335544752;
+ ///
+ /// The user name specified was not found in the security database.
+ ///
+ public const int UsernameNotFound = 335544753;
+ ///
+ /// An error occurred while attempting to add the user.
+ ///
+ public const int ErrorAddingUserRecord = 335544754;
+ ///
+ /// An error occurred while attempting to modify the user record.
+ ///
+ public const int ErrorModifyingUserRecord = 335544755;
+ ///
+ /// An error occurred while attempting to delete the user record.
+ ///
+ public const int ErrorDeletingUserRecord = 335544756;
+ ///
+ /// An error occurred while updating the security database.
+ ///
+ public const int ErrorUpdatingSecurityDb = 335544757;
+ ///
+ /// Data type for constant unknown.
+ ///
+ public const int DsqlConstantError = 335544571;
+ //336003075 dsql_transitional_numeric skipped (might be not needed in Firebird 3)
+ //336003077 sql_db_dialect_dtype_unsupport skipped (might be not needed in Firebird 3)
+ ///
+ /// Invalid label @1 @2 in the current scope.
+ ///
+ public const int DsqlInvalidLabel = 336003087;
+ ///
+ /// Datatypes @1 are not comparable in expression @2.
+ ///
+ public const int DsqlDatatypesNotComparable = 336003088;
+ ///
+ /// Invalid request BLR at offset @1.
+ ///
+ public const int InvalidRequestBlr = 335544343;
+ ///
+ /// BLR syntax error: expected @1 at offset @2, encountered @3.
+ ///
+ public const int SyntaxError = 335544390;
+ ///
+ /// Context already in use (BLR error).
+ ///
+ public const int ContextInUse = 335544425;
+ ///
+ /// Context not defined (BLR error).
+ ///
+ public const int ContextNotDefined = 335544426;
+ ///
+ /// Bad parameter number.
+ ///
+ public const int BadParameterNum = 335544429;
+ //335544440 bad_msg_vec skipped (no message applied)
+ ///
+ /// Invalid slice description language at offset @1.
+ ///
+ public const int InvalidSdl = 335544456;
+ ///
+ /// DSQL: Invalid command.
+ ///
+ public const int DsqlCommandError = 335544570;
+ ///
+ /// DSQL: Internal error.
+ ///
+ public const int DsqlInternalError = 335544579;
+ ///
+ /// DSQL: Option specified more than once.
+ ///
+ public const int DsqlDuplicateOption = 335544590;
+ ///
+ /// Unknown transaction option.
+ ///
+ public const int DsqlUnknownTransaction = 335544591;
+ ///
+ /// DSQL: Invalid array reference.
+ ///
+ public const int DsqlInvalidArray = 335544592;
+ ///
+ /// Unexpected end of command.
+ ///
+ public const int CommandEnd = 335544608;
+ ///
+ /// Unknown token.
+ ///
+ public const int UnknownToken = 335544612;
+ ///
+ /// DSQL: Token unknown - line @1, column @2.
+ ///
+ public const int DsqlUnknownToken = 335544634;
+ ///
+ /// DSQL: Invalid aggregate reference.
+ ///
+ public const int DsqlInvalidAggregate = 335544709;
+ ///
+ /// Invalid blob id.
+ ///
+ public const int InvalidBlobId = 335544714;
+ ///
+ /// Client/Server Express not supported in this release.
+ ///
+ public const int CseNotSupported = 335544730;
+ ///
+ /// Token size exceeds limit.
+ ///
+ public const int TokenTooLong = 335544743;
+ ///
+ /// A string constant is delimited by double quotes.
+ ///
+ public const int InvalidStringConstant = 335544763;
+ ///
+ /// DATE must be changed to TIMESTAMP.
+ /// Its original symbol is transitional_date.
+ ///
+ public const int DateTypeMismatch = 335544764;
+ ///
+ /// Client SQL dialect @1 does not support reference to @2 datatype.
+ ///
+ public const int SqlDialectDatatypeNotSupported = 335544796;
+ ///
+ /// You created an indirect dependency on uncommitted metadata.
+ /// You must roll back the current transaction.
+ ///
+ public const int DependOnUncommittedRel = 335544798;
+ ///
+ /// DSQL: Invalid column position used in the @1 clause.
+ ///
+ public const int DsqlInvalidColumnPosition = 335544821;
+ ///
+ /// DSQL: Cannot use an aggregate function in a WHERE clause, use HAVING instead.
+ ///
+ public const int DsqlWhereOnAggregate = 335544822;
+ ///
+ /// DSQL: Cannot use an aggregate function in a GROUP BY clause.
+ ///
+ public const int DsqlGroupOnAggregate = 335544823;
+ ///
+ /// DSQL: Invalid expression in the @1 (not contained in either an aggregate function or
+ /// the GROUP BY clause).
+ ///
+ public const int DsqlAggregateColumnError = 335544824;
+ ///
+ /// DSQL: Invalid expression in the @1 (neither an aggregate function nor a part of the
+ /// GROUP BY clause).
+ ///
+ public const int DsqlAggregateHavingError = 335544825;
+ ///
+ /// DSQL: Nested aggregate functions are not allowed.
+ ///
+ public const int DsqlNestedAggregateError = 335544826;
+ ///
+ /// Malformed string.
+ ///
+ public const int MalformedString = 335544849;
+ ///
+ /// Unexpected end of command - line @1, column @2.
+ ///
+ public const int RangedCommandEnd = 335544851;
+ ///
+ /// DSQL: Cannot sort on more than 255 items.
+ ///
+ public const int DsqlMaxSortItems = 336397215;
+ ///
+ /// DSQL: Cannot group on more than 255 items.
+ ///
+ public const int DsqlMaxGroupItems = 336397216;
+ ///
+ /// DSQL: Cannot include the same field (@1.@2) twice in the ORDER BY clause with
+ /// conflicting sorting options.
+ ///
+ public const int DsqlConflictingSortField = 336397217;
+ ///
+ /// DSQL: Column list from derived table @1 has more columns than the number of items in
+ /// its SELECT statement.
+ ///
+ public const int DsqlDerivedTableMoreColumns = 336397218;
+ ///
+ /// DSQL: Column list from derived table @1 has less columns than the number of items in
+ /// its SELECT statement.
+ ///
+ public const int DsqlDerivedTableLessColumns = 336397219;
+ ///
+ /// DSQL: No column name specified for column number @1 in derived table @2.
+ ///
+ public const int DsqlDerivedFieldUnnamed = 336397220;
+ ///
+ /// DSQL: Column @1 was specified multiple times for derived table @2.
+ ///
+ public const int DsqlDerivedFieldDupName = 336397221;
+ ///
+ /// Internal dsql error: alias type expected by pass1_expand_select_node.
+ ///
+ public const int DsqlDerivedAliasSelect = 336397222;
+ ///
+ /// Internal dsql error: alias type expected by pass1_field
+ ///
+ public const int DsqlDerivedAliasField = 336397223;
+ ///
+ /// Internal dsql error: column position out of range in pass1_union_auto_cast.
+ ///
+ public const int DsqlAutoFieldBadPos = 336397224;
+ ///
+ /// DSQL: Recursive CTE member (@1) can refer itself only in FROM clause.
+ ///
+ public const int DsqlCteWrongReference = 336397225;
+ ///
+ /// DSQL: CTE '@1' has cyclic dependencies.
+ ///
+ public const int DsqlCteCycle = 336397226;
+ ///
+ /// DSQL: Recursive member of CTE can't be member of an outer join.
+ ///
+ public const int DsqlCteOuterJoin = 336397227;
+ ///
+ /// DSQL: Recursive member of CTE can't reference itself more than once.
+ ///
+ public const int DsqlCteMultipleReferences = 336397228;
+ ///
+ /// DSQL: Recursive CTE (@1) must be an UNION.
+ ///
+ public const int DsqlCteNotUnion = 336397229;
+ ///
+ /// DSQL: CTE '@1' defined non-recursive member after recursive.
+ ///
+ public const int DsqlCteNonrecursAfterRecurs = 336397230;
+ ///
+ /// DSQL: Recursive member of CTE '@1' has @2 clause.
+ ///
+ public const int DsqlCteWrongClause = 336397231;
+ ///
+ /// DSQL: Recursive members of CTE (@1) must be linked with another members via UNION ALL.
+ ///
+ public const int DsqlCteUnionAll = 336397232;
+ ///
+ /// DSQL: Non-recursive member is missing in CTE '@1'.
+ ///
+ public const int DsqlCteMissNonrecursive = 336397233;
+ ///
+ /// DSQL: WITH clause can't be nested.
+ ///
+ public const int DsqlCteNestedWith = 336397234;
+ ///
+ /// DSQL: Column @1 appears more than once in USING clause.
+ ///
+ public const int DsqlColumnMoreThanOnceUsing = 336397235;
+ ///
+ /// DSQL: CTE "@1" is not used in query.
+ ///
+ public const int DsqlCteNotUsed = 336397237;
+ ///
+ /// Invalid ESCAPE sequence.
+ ///
+ public const int LikeEscapeInvalid = 335544702;
+ ///
+ /// Specified EXTRACT part does not exist in input datatype.
+ ///
+ public const int ExtractInputMismatch = 335544789;
+ ///
+ /// Attempted update of read-only table.
+ ///
+ public const int ReadOnlyUpdate = 335544360;
+ ///
+ /// Cannot update read-only view @1.
+ ///
+ public const int ReadOnlyView = 335544362;
+ ///
+ /// Not updatable.
+ ///
+ public const int NonUpdatable = 335544446;
+ ///
+ /// Cannot define constraints on views.
+ ///
+ public const int ConstraintOnView = 335544546;
+ ///
+ /// Attempted update of read - only column.
+ ///
+ public const int ReadOnlyColumn = 335544359;
+ ///
+ /// DSQL: @1 is not a valid base table of the specified view.
+ ///
+ public const int DsqlBaseTable = 335544658;
+ ///
+ /// Must specify column name for view select expression.
+ ///
+ public const int SpecifyFieldError = 335544598;
+ ///
+ /// Number of columns does not match select list.
+ ///
+ public const int NumFieldError = 335544599;
+ ///
+ /// Database key not available for multi-table views.
+ ///
+ public const int NoDbKey = 335544685;
+ ///
+ /// Input parameter mismatch for procedure @1.
+ ///
+ public const int ProcMismatch = 335544512;
+ ///
+ /// External functions cannot have morethan 10 parametrs.
+ ///
+ public const int ExternalFunctionError = 335544619;
+ ///
+ /// Output parameter mismatch for procedure @1.
+ ///
+ public const int ProcOutParamMismatch = 335544850;
+ ///
+ /// Function @1 could not be matched.
+ ///
+ public const int FuncMismatch = 335544439;
+ ///
+ /// Column not array or invalid dimensions (expected @1, encountered @2).
+ ///
+ public const int InvalidDimension = 335544458;
+ ///
+ /// Return mode by value not allowed for this data type.
+ ///
+ public const int ReturnModeError = 335544618;
+ ///
+ /// Array data type can use up to @1 dimensions.
+ ///
+ public const int ArrayMaxDimensions = 335544873;
+ ///
+ /// Function @1 is not defined.
+ ///
+ public const int FuncNotDefined = 335544438;
+ ///
+ /// Ambiguous column reference.
+ ///
+ public const int DynamicFieldAmbiguous = 335544708;
+ ///
+ /// Ambiguous field name between @1 and @2.
+ ///
+ public const int DsqlAmbiguousFieldName = 336003085;
+ ///
+ /// Generator @1 is not defined.
+ ///
+ public const int GeneratorNotDefined = 335544463;
+ ///
+ /// Reference to invalid stream number.
+ ///
+ public const int StreamNotDefined = 335544502;
+ ///
+ /// CHARACTER SET @1 is not defined.
+ ///
+ public const int CharsetNotFound = 335544509;
+ ///
+ /// Procedure @1 is not defined.
+ ///
+ public const int ProcNotDefined = 335544511;
+ ///
+ /// Status code @1 unknown.
+ ///
+ public const int ErrorCodeNotDefined = 335544515;
+ ///
+ /// Exception @1 not defined.
+ ///
+ public const int ExceptionCodeNotDefined = 335544516;
+ ///
+ /// Name of Referential Constraint not defined in constraints table.
+ ///
+ public const int RefConstraintNotFound = 335544532;
+ ///
+ /// Could not find table/procedure for GRANT.
+ ///
+ public const int GrantObjNotFound = 335544551;
+ ///
+ /// Implementation of text subtype @1 not located.
+ ///
+ public const int TextSubtype = 335544568;
+ ///
+ /// DSQL: Unknown data type.
+ ///
+ public const int DsqlDatatypeError = 335544573;
+ ///
+ /// DSQL: Table unknown.
+ ///
+ public const int DsqlRelationError = 335544580;
+ ///
+ /// DSQL: Procedure unknown.
+ ///
+ public const int DsqlProcedureError = 335544581;
+ ///
+ /// Collation @1 for character set @2 is not defined.
+ ///
+ public const int CollationNotFound = 335544588;
+ ///
+ /// Collation @1 is not valid for specified character set.
+ ///
+ public const int CollationNotForCharset = 335544589;
+ ///
+ /// Unknown trigger.
+ ///
+ public const int DsqlTriggerError = 335544595;
+ ///
+ /// Alias @1 conflicts with an alias in the same statement.
+ ///
+ public const int AliasConflictError = 335544620;
+ ///
+ /// Alias @1 conflicts with a procedure in the same statement.
+ ///
+ public const int ProcedureConflictError = 335544621;
+ ///
+ /// Alias @1 conflicts with a table in the same statement.
+ ///
+ public const int RelationConflictError = 335544622;
+ ///
+ /// DSQL: There is no alias or table named @1 at this scope level.
+ ///
+ public const int DsqlNoRelationAlias = 335544635;
+ ///
+ /// There is no index @1 for table @2.
+ ///
+ public const int NoIndexName = 335544636;
+ ///
+ /// Invalid use of CHARACTER SET or COLLATE.
+ ///
+ public const int CollationRequiresText = 335544640;
+ ///
+ /// BLOB subtype @1 is not defined.
+ ///
+ public const int DsqlBlobTypeUnknown = 335544662;
+ ///
+ /// Can not define a not null column with NULL as default value.
+ ///
+ public const int BadDefaultValue = 335544759;
+ ///
+ /// Invalid clause - '@1'.
+ ///
+ public const int InvalidClause = 335544760;
+ ///
+ /// Too many Contexts of Relation/Procedure/Views. Maximum allowed is 255.
+ ///
+ public const int TooManyContexts = 335544800;
+ ///
+ /// Invalid parameter to FIRST. Only integers >= 0 are allowed.
+ ///
+ public const int BadLimitParam = 335544817;
+ ///
+ /// Invalid parameter to SKIP. Only integers >= 0 are allowed.
+ ///
+ public const int BadSkipParam = 335544818;
+ ///
+ /// Invalid offset parameter @1 to SUBSTRING. Only positive integers are allowed.
+ ///
+ public const int BadSubstringOffset = 335544837;
+ ///
+ /// Invalid length parameter @1 to SUBSTRING. Negative integers are not allowed.
+ ///
+ public const int BadSubstringLength = 335544853;
+ ///
+ /// CHARACTER SET @1 is not installed.
+ ///
+ public const int CharsetNotInstalled = 335544854;
+ ///
+ /// COLLATION @1 for CHARACTER SET @2 is not installed.
+ ///
+ public const int CollationNotInstalled = 335544855;
+ ///
+ /// Blob subtypes bigger than 1 (text) are for internal use only.
+ ///
+ public const int SubtypeForInternalUse = 335544867;
+ ///
+ /// Column @1 is not defined in table @2.
+ ///
+ public const int FieldNotDefined = 335544396;
+ ///
+ /// Could not find column for GRANT.
+ ///
+ public const int GrantFieldNotfound = 335544552;
+ ///
+ /// Column @1 is not defined in procedure @2.
+ ///
+ public const int FieldNotDefinedInProc = 335544883;
+ ///
+ /// DSQL: Unknown column.
+ ///
+ public const int DsqlFieldError = 335544578;
+ ///
+ /// DSQL: Column is not a BLOB.
+ ///
+ public const int DsqlBlobError = 335544587;
+ ///
+ /// DSQL: Subselect illegal in this context.
+ ///
+ public const int DsqlSubselectError = 335544596;
+ ///
+ /// DSQL: At line @1, column @2.
+ ///
+ public const int DsqlLineColError = 336397208;
+ ///
+ /// DSQL: At unknown line and column.
+ ///
+ public const int DsqlUnknownPos = 336397209;
+ ///
+ /// Column @1 cannot be repeated in @2 statement.
+ ///
+ public const int DsqlNoDupName = 336397210;
+ ///
+ /// Invalid ORDER BY clause.
+ ///
+ public const int OrderByError = 335544617;
+ ///
+ /// Table @1 is not defined.
+ ///
+ public const int RelationNotDefined = 335544395;
+ ///
+ /// Domain @1 is not defined.
+ ///
+ public const int DomainNotDefined = 335544872;
+ ///
+ /// WAL Writer error.
+ ///
+ public const int WalWriterError = 335544487;
+ ///
+ /// Invalid version of log file @1.
+ ///
+ public const int LogHeaderSmall = 335544488;
+ ///
+ /// Log file @1 not latest in the chain but open flag still set.
+ ///
+ public const int LogHeaderInvalidVersion = 335544489;
+ ///
+ /// Log file @1 not closed properly; database recovery may be required.
+ ///
+ public const int LogHeaderOpenFlag2 = 335544491;
+ ///
+ /// Database name in the log file @1 is different.
+ ///
+ public const int LogHeaderDiffDbname = 335544492;
+ ///
+ /// Unexpected end of log file @1 at offset @2.
+ ///
+ public const int LogFileUnexpectedEof = 335544493;
+ ///
+ /// Incomplete log record at offset @1 in log file @2.
+ ///
+ public const int LogRecordIncomplete = 335544494;
+ ///
+ /// Log record header too small at offset @1 in log file @.
+ ///
+ public const int LogRecordHeaderSmall2 = 335544495;
+ ///
+ /// Log block too small at offset @1 in log file @2.
+ ///
+ public const int LogBlockSmall = 335544496;
+ ///
+ /// Insufficient memory to allocate page buffer cache.
+ ///
+ public const int CacheTooSmall = 335544691;
+ ///
+ /// Log size too small.
+ ///
+ public const int LogSizeTooSmall = 335544693;
+ ///
+ /// Log partition size too small.
+ ///
+ public const int PartitionTooSmall = 335544694;
+ ///
+ /// Database does not use Write-ahead Log.
+ ///
+ public const int NoWriteAheadLog = 335544500;
+ ///
+ /// WAL defined; Cache Manager must be started first.
+ ///
+ public const int StartCacheManagerForWal = 335544566;
+ ///
+ /// Cache redefined.
+ ///
+ public const int CacheRedef = 335544690;
+ ///
+ /// Log redefined.
+ ///
+ public const int LogRedef = 335544692;
+ ///
+ /// Partitions not supported in series of log file specification.
+ ///
+ public const int PartitionNotSupported = 335544695;
+ ///
+ /// Total length of a partitioned log must be specified.
+ ///
+ public const int LogLengthSpec = 335544696;
+ ///
+ /// Table @1 is not referenced in plan.
+ ///
+ public const int NoStreamPlan = 335544637;
+ ///
+ /// Table @1 is referenced more than once in plan; use aliases to distinguish.
+ ///
+ public const int StreamTwice = 335544638;
+ ///
+ /// DSQL: The table @1 is referenced twice; use aliases to differentiate.
+ ///
+ public const int DsqlSelfJoinError = 335544643;
+ ///
+ /// Table @1 is referenced twice in view; use an alias to distinguish.
+ ///
+ public const int DuplicateBaseTable = 335544659;
+ ///
+ /// View @1 has more than one base table; use aliases to distinguish.
+ ///
+ public const int ViewAlias = 335544660;
+ ///
+ /// Navigational stream @1 references a view with more than one base table.
+ ///
+ public const int ComplexView = 335544710;
+ ///
+ /// Table @1 is referenced in the plan but not the from list.
+ ///
+ public const int StreamNotFound = 335544639;
+ ///
+ /// Index @1 cannot be used in the specified plan.
+ ///
+ public const int IndexUnused = 335544642;
+ ///
+ /// Column used in a PRIMARY constraint must be NOT NULL.
+ ///
+ public const int PrimaryKeyNotNull = 335544531;
+ ///
+ /// Cannot update constraints (RDB$REF_CONSTRAINTS).
+ ///
+ public const int RefConstraintUpdate = 335544534;
+ ///
+ /// Cannot update constraints (RDB$CHECK_CONSTRAINTS).
+ ///
+ public const int CheckConstraintUpdate = 335544535;
+ ///
+ /// Cannot delete CHECK constraint entry (RDB$CHECK_CONSTRAINTS).
+ ///
+ public const int CheckConstraintDelete = 335544536;
+ ///
+ /// Cannot update constraints (RDB$RELATION_CONSTRAINTS).
+ ///
+ public const int RelConstraintUpdate = 335544545;
+ ///
+ /// Internal gds software consistency check (invalid RDB$CONSTRAINT_TYPE).
+ ///
+ public const int InvalidConstraintType = 335544547;
+ ///
+ /// Operation violates check constraint @1 on view or table @2.
+ ///
+ public const int CheckConstraint = 335544558;
+ ///
+ /// UPDATE OR INSERT field list does not match primary key of table @1.
+ ///
+ public const int UpdateInsertDoesntMatchPrimaryKey = 336003099;
+ ///
+ /// UPDATE OR INSERT field list does not match MATCHING clause.
+ ///
+ public const int UpdateInsertDoesntMatchMatching = 336003100;
+ ///
+ /// DSQL: Count of column list and variable list do not match.
+ ///
+ public const int DsqlCountMismatch = 335544669;
+ ///
+ /// Cannot transliterate character between character sets.
+ ///
+ public const int TransliterationFailed = 335544565;
+ ///
+ /// Cannot change datatype for column @1.
+ /// Changing datatype is not supported for BLOB or ARRAY columns.
+ ///
+ public const int DynamicDatatypeInvalid = 336068815;
+ ///
+ /// Column @1 from table @2 is referenced in @3.
+ ///
+ public const int DynamicDependencyExists = 336068814;
+ ///
+ /// Invalid comparison operator for find operation.
+ ///
+ public const int InvalidOperator = 335544647;
+ ///
+ /// Attempted invalid operation on a BLOB.
+ ///
+ public const int InvalidBlobOperation = 335544368;
+ ///
+ /// BLOB and array data types are not supported for @1 operation.
+ ///
+ public const int BlobNotSupported = 335544414;
+ ///
+ /// Data operation not supported.
+ ///
+ public const int DataOperationNotSupported = 335544427;
+ ///
+ /// Subscript out of bounds.
+ ///
+ public const int OutOfBounds = 335544457;
+ ///
+ /// Null segment of UNIQUE KEY.
+ ///
+ public const int NullSegmentKey = 335544435;
+ ///
+ /// Conversion error from string "@1".
+ ///
+ public const int StrConvertError = 335544334;
+ ///
+ /// Filter not found to convert type @1 to type @2.
+ ///
+ public const int NoFilter = 335544454;
+ ///
+ /// Unsupported conversion to target type BLOB (subtype @1).
+ ///
+ public const int BlobConvertError = 335544860;
+ ///
+ /// Unsupported conversion to target type ARRAY.
+ ///
+ public const int ArrayConvertError = 335544861;
+ ///
+ /// DSQL: Attempt to reclose a closed cursor.
+ ///
+ public const int DsqlCursorCloseError = 335544577;
+ ///
+ /// DSQL: Statement already has a cursor @1 assigned.
+ ///
+ public const int DsqlCursorRedefined = 336003090;
+ ///
+ /// DSQL: Cursor @1 is not found in the current context.
+ ///
+ public const int DsqlCursorNotFound = 336003091;
+ ///
+ /// DSQL: Cursor @1 already exists in the current context.
+ ///
+ public const int DsqlCursorExists = 336003092;
+ ///
+ /// DSQL: Relation @1 is ambiguous in cursor @2.
+ ///
+ public const int DsqlCursorRelAmbiguous = 336003093;
+ ///
+ /// DSQL: Relation @1 is not found in cursor @2.
+ ///
+ public const int DsqlCursorRelNotFound = 336003094;
+ ///
+ /// DSQL: Cursor is not open.
+ ///
+ public const int DsqlCursorNotOpen = 336003095;
+ ///
+ /// DSQL: Invalid cursor declaration.
+ ///
+ public const int DsqlDeclarationError = 335544574;
+ ///
+ /// DSQL: Attempt to reopen an open cursor.
+ ///
+ public const int DsqlCursorOpenError = 335544576;
+ ///
+ /// DSQL: Empty cursor name is not allowed.
+ ///
+ public const int DsqlCursorInvalid = 336003089;
+ ///
+ /// DSQL: Invalid cursor reference.
+ ///
+ public const int DsqlCursorError = 335544572;
+ ///
+ /// No current record for fetch operation.
+ ///
+ public const int NoCurrentRecord = 335544348;
+ ///
+ /// DSQL: Cursor @1 is not updatable.
+ ///
+ public const int DsqlCursorNotUpdatable = 335544575;
+ ///
+ /// DSQL: Request unknown.
+ ///
+ public const int DsqlRequestUnknown = 335544582;
+ ///
+ /// DSQL: The prepare statement identifies a prepare statement with an open cursor.
+ ///
+ public const int DsqlOpenCursorRequest = 335544688;
+ ///
+ /// Violation of FOREIGN KEY constraint "@1" on table "@2".
+ ///
+ public const int ForeignKeyConstraintViolation = 335544466;
+ ///
+ /// Foreign key reference target does not exist.
+ ///
+ public const int ForeignKeyTargetDoesntExist = 335544838;
+ ///
+ /// Foreign key references are present for the record.
+ ///
+ public const int ForeignKeyReferencesPresent = 335544839;
+ ///
+ /// DSQL: Cannot prepare a CREATE DATABASE/SCHEMA statement.
+ ///
+ public const int DsqlCreateDbPrepareError = 335544597;
+ ///
+ /// Transaction marked invalid by I/O error.
+ ///
+ public const int TransactionInvalid = 335544469;
+ ///
+ /// No permission for @1 access to @2 @3.
+ ///
+ public const int NoPriv = 335544352;
+ ///
+ /// Service @1 requires SYSDBA permissions.
+ /// Reattach to the Service Manager using the SYSDBA account
+ ///
+ public const int InsufficientServicePrivileges = 335544790;
+ ///
+ /// Only the owner of a table may reassign ownership.
+ ///
+ public const int NotRelationOwner = 335544550;
+ ///
+ /// User does not have GRANT privileges for operation.
+ ///
+ public const int GrantNoPriv = 335544553;
+ ///
+ /// User does not have GRANT privileges on base table/view for operation.
+ ///
+ public const int GrantNoPrivOnBase = 335544707;
+ ///
+ /// Cannot modify an existing user privilege.
+ ///
+ public const int ExistingPrivMod = 335544529;
+ ///
+ /// The current position is on a crack.
+ ///
+ public const int StreamCrack = 335544645;
+ ///
+ /// Illegal operation when at beginning of stream.
+ ///
+ public const int StreamBof = 335544644;
+ ///
+ /// DSQL: Preceding file did not specify length, so @1 must include starting page number.
+ ///
+ public const int DsqlFileLengthError = 335544632;
+ ///
+ /// Shadow number must be a positive integer.
+ ///
+ public const int DsqlShadowNumberError = 335544633;
+ ///
+ /// Gen.c: node not supported.
+ ///
+ public const int NodeError = 335544607;
+ ///
+ /// A node name is not permitted in a secondary, shadow, cache or log file name.
+ ///
+ public const int NodeNameError = 335544625;
+ ///
+ /// Sort error: corruption in data structure.
+ ///
+ public const int CorruptDataError = 335544680;
+ ///
+ /// Database or file exists.
+ ///
+ public const int DbOrFileExists = 335544646;
+ ///
+ /// DSQL: Array declared with too many dimensions.
+ ///
+ public const int DsqlMaxArrDimensionExceeded = 335544593;
+ ///
+ /// Illegal array dimension range.
+ ///
+ public const int DsqlArrRangeError = 335544594;
+ ///
+ /// Inappropriate self-reference of column.
+ ///
+ public const int DsqlFieldRef = 335544682;
+ ///
+ /// Cannot SELECT RDB$DB_KEY from a stored procedure.
+ ///
+ public const int DsqlDbkeyFromNonTable = 336003074;
+ ///
+ /// External function should have return position between 1 and @1.
+ ///
+ public const int DsqlUdfReturnPosError = 336003086;
+ ///
+ /// Data type @1 is not supported for EXTERNAL TABLES. Relation '@2', field '@3'.
+ ///
+ public const int DsqlTypeNotSupportExtTab = 336003096;
+ ///
+ /// Unsuccessful metadata update.
+ ///
+ public const int NoMetaUpdate = 335544351;
+ ///
+ /// Cannot modify or erase a system trigger.
+ ///
+ public const int SysTriggerUpdate = 335544549;
+ ///
+ /// DSQL: Array/BLOB/DATE data types not allowed in arithmetic.
+ ///
+ public const int DsqlNoBlobArray = 335544657;
+ ///
+ /// "REFERENCES table" without "(column)" requires PRIMARY KEY on referenced table.
+ ///
+ public const int ReftableRequiresPrimaryKey = 335544746;
+ ///
+ /// GENERATOR @1.
+ ///
+ public const int GeneratorName = 335544815;
+ ///
+ /// UDF @1.
+ ///
+ public const int UdfName = 335544816;
+ ///
+ /// Can't have relation with only computed fields or constraints.
+ ///
+ public const int MustHavePhysField = 335544858;
+ ///
+ /// DSQL: Table @1 does not exist.
+ ///
+ public const int DsqlTableNotFound = 336397206;
+ ///
+ /// DSQL: View @1 does not exist.
+ ///
+ public const int DsqlViewNotFound = 336397207;
+ ///
+ /// DSQL: Array and BLOB data types not allowed in computed field.
+ ///
+ public const int DsqlNoArrayOnCompField = 336397212;
+ ///
+ /// DSQL: Scalar operator used on field @1 which is not an array.
+ ///
+ public const int DsqlOnlyCanSubscriptArray = 336397214;
+ ///
+ /// Cannot rename domain @1 to @2. A domain with that name already exists.
+ ///
+ public const int DynDomainNameExists = 336068812;
+ ///
+ /// Cannot rename column @1 to @2.
+ /// A column with that name already exists in table @3.
+ ///
+ public const int DynFieldNameExists = 336068813;
+ ///
+ /// Lock on table @1 conflicts with existing lock.
+ ///
+ public const int RelationLock = 335544475;
+ ///
+ /// Requested record lock conflicts with existing lock.
+ ///
+ public const int RecordLock = 335544476;
+ ///
+ /// Refresh range number @1 already in use.
+ ///
+ public const int RangeInUse = 335544507;
+ ///
+ /// Cannot delete PRIMARY KEY being used in FOREIGN KEY definition.
+ ///
+ public const int PrimaryKeyOnForeignDel = 335544530;
+ ///
+ /// Cannot delete index used by an Integrity Constraint.
+ ///
+ public const int IntegrityIndexDel = 335544539;
+ ///
+ /// Cannot modify index used by an Integrity Constraint.
+ ///
+ public const int IntegrityIndexMod = 335544540;
+ ///
+ /// Cannot delete trigger used by a CHECK Constraint.
+ ///
+ public const int CheckTrigDel = 335544541;
+ ///
+ /// Cannot delete column being used in an Integrity Constraint.
+ ///
+ public const int ConstraintFieldDel = 335544543;
+ ///
+ /// There are @1 dependencies.
+ ///
+ public const int Dependency = 335544630;
+ ///
+ /// Last column in a table cannot be deleted.
+ ///
+ public const int DelLastField = 335544674;
+ ///
+ /// Cannot deactivate index used by an integrity constraint.
+ ///
+ public const int IntegrityIndexDeactivate = 335544728;
+ ///
+ /// Cannot deactivate index used by a PRIMARY/UNIQUE constraint.
+ ///
+ public const int IntegDeactivatePrimary = 335544729;
+ ///
+ /// Cannot update trigger used by a CHECK Constraint.
+ ///
+ public const int CheckTriggerUpdate = 335544542;
+ ///
+ /// Cannot rename column being used in an Integrity Constraint.
+ ///
+ public const int ConstraintFieldRename = 335544544;
+ ///
+ /// Cannot delete index segment used by an Integrity Constraint.
+ ///
+ public const int IntegrityIndexSegmentDel = 335544537;
+ ///
+ /// Cannot update index segment used by an Integrity Constraint.
+ ///
+ public const int IntegrityIndexSegmentMod = 335544538;
+ ///
+ /// Validation error for column @1, value "@2".
+ ///
+ public const int NotValid = 335544347;
+ ///
+ /// Validation error for variable @1, value "@2".
+ ///
+ public const int NotValidForVar = 335544879;
+ ///
+ /// Validation error for @1, value "@2".
+ ///
+ public const int NotValidFor = 335544880;
+ ///
+ /// Duplicate specification of @1- not supported.
+ ///
+ public const int DsqlDuplicateSpec = 335544664;
+ ///
+ /// Implicit domain name @1 not allowed in user created domain.
+ ///
+ public const int DsqlImplicitDomainName = 336397213;
+ ///
+ /// Primary key required on table @1.
+ ///
+ public const int PrimaryKeyRequired = 336003098;
+ ///
+ /// Non-existent PRIMARY or UNIQUE KEY specified for FOREIGN KEY.
+ ///
+ public const int ForeignKeyNotFound = 335544533;
+ ///
+ /// Cannot create index @1.
+ ///
+ public const int IndexCreateError = 335544628;
+ ///
+ /// Segment count of 0 defined for index @1.
+ ///
+ public const int IndexSegmentError = 335544624;
+ ///
+ /// Too many keys defined for index @1.
+ ///
+ public const int IndexKeyError = 335544631;
+ ///
+ /// Too few key columns found for index @1 (incorrect column name?).
+ ///
+ public const int KeyFieldError = 335544672;
+ ///
+ /// Key size exceeds implementation restriction for index "@1".
+ ///
+ public const int KeyTooBig = 335544434;
+ ///
+ /// @1 extension error.
+ ///
+ public const int ExtErr = 335544445;
+ ///
+ /// Invalid BLOB type for operation.
+ ///
+ public const int BadBlobType = 335544465;
+ ///
+ /// Attempt to index BLOB column in index @1.
+ ///
+ public const int BlobIndexError = 335544670;
+ ///
+ /// Attempt to index array column in index @1.
+ ///
+ public const int ArrayIndexError = 335544671;
+ ///
+ /// Page @1 is of wrong type (expected @2, found @3).
+ ///
+ public const int BadPageType = 335544403;
+ ///
+ /// Wrong page type.
+ ///
+ public const int PageTypeError = 335544650;
+ ///
+ /// Segments not allowed in expression index @1.
+ ///
+ public const int NoSegmentsError = 335544679;
+ ///
+ /// New record size of @1 bytes is too big.
+ ///
+ public const int RecordSizeError = 335544681;
+ ///
+ /// Maximum indexes per table (@1) exceeded.
+ ///
+ public const int MaxIndex = 335544477;
+ ///
+ /// Too many concurrent executions of the same request.
+ ///
+ public const int RequestMaxClonesExceeded = 335544663;
+ ///
+ /// Cannot access column @1 in view @2.
+ ///
+ public const int NoFieldAccess = 335544684;
+ ///
+ /// Arithmetic exception, numeric overflow, or string truncation.
+ ///
+ public const int FbArithmeticException = 335544321;
+ ///
+ /// Concatenation overflow. Resulting string cannot exceed 32K in length.
+ ///
+ public const int ConcatOverflow = 335544836;
+ ///
+ /// Attempt to store duplicate value (visible to active transactions)
+ /// in unique index "@1".
+ ///
+ public const int NoDuplication = 335544349;
+ ///
+ /// Violation of PRIMARY or UNIQUE KEY constraint "@1" on table "@2".
+ ///
+ public const int UniqueKeyViolation = 335544665;
+ ///
+ /// DSQL: Feature not supported on ODS version older than @1.@2.
+ ///
+ public const int DsqlFeatureNotSupportedOds = 336003097;
+ ///
+ /// Wrong number of arguments on call.
+ ///
+ public const int WrongArgNum = 335544380;
+ ///
+ /// DSQL: SQLDA missing or incorrect version, or incorrect number/type of variables.
+ ///
+ public const int DsqlSqldaError = 335544583;
+ ///
+ /// DSQL: Count of read - write columns does not equal count of values.
+ ///
+ public const int DsqlVarCountError = 335544584;
+ ///
+ /// Unknown function.
+ ///
+ public const int DsqlFunctionError = 335544586;
+ ///
+ /// Incorrect values within SQLDA structure.
+ ///
+ public const int DsqlSqldaValueError = 335544713;
+ ///
+ /// ODS versions before ODS@1 are not supported.
+ ///
+ public const int DsqlTooOldOds = 336397205;
+ ///
+ /// Only simple column names permitted for VIEW WITH CHECK OPTION.
+ ///
+ public const int ColNameError = 335544600;
+ ///
+ /// No WHERE clause for VIEW WITH CHECK OPTION.
+ ///
+ public const int WhereError = 335544601;
+ ///
+ /// Only one table allowed for VIEW WITH CHECK OPTION.
+ ///
+ public const int TableViewError = 335544602;
+ ///
+ /// DISTINCT, GROUP or HAVING not permitted for VIEW WITH CHECK OPTION.
+ ///
+ public const int DistinctError = 335544603;
+ ///
+ /// No subqueries permitted for VIEW WITH CHECK OPTION.
+ ///
+ public const int SubqueryError = 335544605;
+ ///
+ /// Multiple rows in singleton select.
+ ///
+ public const int SingletonSelectError = 335544652;
+ ///
+ /// Cannot insert because the file is readonly or is on a read only medium.
+ ///
+ public const int ExtReadonlyError = 335544651;
+ ///
+ /// Operation not supported for EXTERNAL FILE table @1.
+ ///
+ public const int ExtFileUnsupportedOperation = 335544715;
+ ///
+ /// DB dialect @1 and client dialect @2 conflict with respect to numeric precision @3.
+ ///
+ public const int IscSqlDialectConflictNum = 336003079;
+ ///
+ /// UPDATE OR INSERT without MATCHING could not be used with views based on more than one table.
+ ///
+ public const int UpdateInsertWithComplexView = 336003101;
+ ///
+ /// DSQL: Incompatible trigger type.
+ ///
+ public const int DsqlIncompatibleTriggerType = 336003102;
+ ///
+ /// Database trigger type can't be changed.
+ ///
+ public const int DsqlDbTriggerTypeCannotChange = 336003103;
+ ///
+ /// Attempted update during read - only transaction.
+ ///
+ public const int ReadOnlyTransaction = 335544361;
+ ///
+ /// Attempted write to read-only BLOB.
+ ///
+ public const int BlobNoWrite = 335544371;
+ ///
+ /// Operation not supported.
+ ///
+ public const int ReadOnly = 335544444;
+ ///
+ /// Attempted update on read - only database.
+ ///
+ public const int ReadOnlyDatabase = 335544765;
+ ///
+ /// SQL dialect @1 is not supported in this database.
+ ///
+ public const int MustBeDialect2AndUp = 335544766;
+ ///
+ /// Metadata update statement is not allowed by the current database SQL dialect @1.
+ ///
+ public const int DdlNotAllowedByDbSqlDialect = 335544793;
+ ///
+ /// Metadata is obsolete.
+ ///
+ public const int ObsoleteMetadata = 335544356;
+ ///
+ /// Unsupported on - disk structure for file @1; found @2.@3, support @4.@5.
+ ///
+ public const int WrongOds = 335544379;
+ ///
+ /// Wrong DYN version.
+ ///
+ public const int WrongDynVersion = 335544437;
+ ///
+ /// Minor version too high found @1 expected @2.
+ ///
+ public const int HighMinor = 335544467;
+ ///
+ /// Difference file name should be set explicitly for database on raw device.
+ ///
+ public const int NeedDifference = 335544881;
+ ///
+ /// Invalid bookmark handle.
+ ///
+ public const int InvalidBookmark = 335544473;
+ ///
+ /// Invalid lock level @1.
+ ///
+ public const int BadLockLevel = 335544474;
+ ///
+ /// Invalid lock handle.
+ ///
+ public const int BadLockHandle = 335544519;
+ ///
+ /// DSQL: Invalid statement handle.
+ ///
+ public const int DsqlStatementHandle = 335544585;
+ ///
+ /// Invalid direction for find operation.
+ ///
+ public const int InvalidDirection = 335544655;
+ ///
+ /// Invalid key for find operation.
+ ///
+ public const int InvalidKey = 335544718;
+ ///
+ /// Invalid key position.
+ ///
+ public const int InvalidKeyPosition = 335544678;
+ ///
+ /// New size specified for column @1 must be at least @2 characters.
+ ///
+ public const int DynCharFieldTooSmall = 336068816;
+ ///
+ /// Cannot change datatype for @1.Conversion from base type @2 to @3 is not supported.
+ ///
+ public const int DynInvalidDataTypeConversion = 336068817;
+ ///
+ /// Cannot change datatype for column @1 from a character type to a non-character type.
+ ///
+ public const int DynDatatypeConversionError = 336068818;
+ ///
+ /// Maximum number of collations per character set exceeded.
+ ///
+ public const int MaxCollationsPerCharset = 336068829;
+ ///
+ /// Invalid collation attributes.
+ ///
+ public const int InvalidCollationAttr = 336068830;
+ ///
+ /// New scale specified for column @1 must be at most @2.
+ ///
+ public const int DynScaleTooBig = 336068852;
+ ///
+ /// New precision specified for column @1 must be at least @2.
+ ///
+ public const int DynPrecisionTooSmall = 336068853;
+ ///
+ /// Invalid column reference.
+ ///
+ public const int FieldRefError = 335544616;
+ ///
+ /// Column used with aggregate.
+ ///
+ public const int FieldAggregateError = 335544615;
+ ///
+ /// Attempt to define a second PRIMARY KEY for the same table.
+ ///
+ public const int PrimaryKeyExists = 335544548;
+ ///
+ /// FOREIGN KEY column count does not match PRIMARY KEY.
+ ///
+ public const int KeyFieldCountError = 335544604;
+ ///
+ /// Expression evaluation not supported.
+ ///
+ public const int ExpressionEvalError = 335544606;
+ ///
+ /// Value exceeds the range for valid dates.
+ ///
+ public const int DateRangeExceeded = 335544810;
+ ///
+ /// Refresh range number @1 not found.
+ ///
+ public const int RangeNotFound = 335544508;
+ ///
+ /// Bad checksum.
+ ///
+ public const int BadChecksum = 335544649;
+ ///
+ /// Restart shared cache manager.
+ ///
+ public const int CacheRestart = 335544518;
+ ///
+ /// Database @1 shutdown in @2 seconds.
+ ///
+ public const int ShutdownWarning = 335544560;
+ ///
+ /// Too many versions.
+ ///
+ public const int VersionError = 335544677;
+ ///
+ /// Precision must be from 1 to 18.
+ ///
+ public const int PrecisionError = 335544697;
+ ///
+ /// Scale must be between zero and precision.
+ ///
+ public const int ScaleBetweenZeroAndPrecision = 335544698;
+ ///
+ /// Short integer expected.
+ ///
+ public const int ShortIntExpected = 335544699;
+ ///
+ /// Long integer expected
+ ///
+ public const int LongIntExpected = 335544700;
+ ///
+ /// Unsigned short integer expected.
+ ///
+ public const int UShortIntExcepted = 335544701;
+ ///
+ /// Positive value expected.
+ ///
+ public const int PositiveNumExpected = 335544712;
+ ///
+ /// Database file name (@1) already given.
+ ///
+ public const int DbNameAlreadyGiven = 335740929;
+ ///
+ /// GBak: Unknown switch.
+ ///
+ public const int GbakUnknownSwitch = 336330753;
+ ///
+ /// GStat: Unknown switch.
+ ///
+ public const int GstatUnknownSwitch = 336920577;
+ ///
+ /// Wrong value for access mode.
+ /// Symbol: fbsvcmgr_bad_am
+ ///
+ public const int WrongAccessModeVal = 336986113;
+ ///
+ /// Gfix: Invalid switch @1.
+ ///
+ public const int GfixInvalidSwitch = 335740930;
+ ///
+ /// Invalid database key.
+ ///
+ public const int BadDbKey = 335544322;
+ ///
+ /// Wrong value for write mode.
+ /// Symbol: fbsvcmgr_bad_wm
+ ///
+ public const int WrongWriteModeVal = 336986114;
+ ///
+ /// GBak: Page size parameter missing.
+ ///
+ public const int GbakPageSizeMissing = 336330754;
+ ///
+ /// Gstat: Please retry, giving a database name.
+ ///
+ public const int GstatRetryDbName = 336920578;
+ ///
+ /// Wrong value for reserve space.
+ ///
+ public const int WrongReserveSpaceValue = 336986115;
+ ///
+ /// Gstat: Wrong ODS version, expected @1, encountered @2.
+ ///
+ public const int GstatWrongOds = 336920579;
+ ///
+ /// Page size specified (@1) greater than limit (16384 bytes).
+ ///
+ public const int GbakPageSizeTooBig = 336330755;
+ ///
+ /// Gfix: Incompatible switch combination.
+ ///
+ public const int GfixIncompatibleSwitch = 335740932;
+ ///
+ /// Gstat: Unexpected end of database file.
+ ///
+ public const int GstatUnexpectedEof = 336920580;
+ ///
+ /// Gbak: Redirect location for output is not specified.
+ ///
+ public const int GbakRedirectOutputMissing = 336330756;
+ ///
+ /// Unknown tag (@1) in info_svr_db_info block after isc_svc_query().
+ /// Symbol: fbsvcmgr_info_err
+ ///
+ public const int FbsvcmgrUnknownTag = 336986116;
+ ///
+ /// Gfix: Replay log pathname required.
+ ///
+ public const int GfixReplayRequired = 335740933;
+ ///
+ /// Conflicting switches for backup/restore.
+ ///
+ public const int GbakSwitchesConflict = 336330757;
+ ///
+ /// Unknown tag (@1) in isc_svc_query() results.
+ ///
+ public const int FbsvcmgrQueryError = 336986117;
+ ///
+ /// Unrecognized database parameter block.
+ ///
+ public const int BadDbParamForm = 335544326;
+ ///
+ /// Gfix: Number of page buffers for cache required.
+ ///
+ public const int GfixPageBufferRequired = 335740934;
+ ///
+ /// Unknown switch "@1".
+ /// Symbol: fbsvcmgr_switch_unknown
+ ///
+ public const int SwitchUnknown = 336986118;
+ ///
+ /// Gbak: Device type @1 not known.
+ ///
+ public const int GbakUnknownDevice = 336330758;
+ ///
+ /// Invalid request handle.
+ ///
+ public const int BadRequestHandle = 335544327;
+ ///
+ /// Numeric value required.
+ ///
+ public const int GfixNumericValueRequired = 335740935;
+ ///
+ /// Protection is not there yet.
+ ///
+ public const int GbakNoProtection = 336330759;
+ ///
+ /// Invalid BLOB handle.
+ ///
+ public const int BadBlobHandle = 335544328;
+ ///
+ /// Gfix: Positive numeric value required.
+ ///
+ public const int GfixPosiiveValRequired = 335740936;
+ ///
+ /// Page size is allowed only on restore or create.
+ ///
+ public const int GbakPageSizeNotAllowed = 336330760;
+ ///
+ /// Invalid BLOB ID.
+ ///
+ public const int BadBlobId = 335544329;
+ ///
+ /// Gfix: Number of transactions per sweep required.
+ ///
+ public const int GfixSweepTransactionRequired = 335740937;
+ ///
+ /// Gbak: Multiple sources or destinations specified.
+ ///
+ public const int GbakMultiSourceDest = 336330761;
+ ///
+ /// Invalid parameter in transaction parameter block.
+ ///
+ public const int BadTransactionParamContent = 335544330;
+ ///
+ /// Gbak: Requires both input and output filenames.
+ ///
+ public const int GbakFilenameMissing = 336330762;
+ ///
+ /// Invalid format for transaction parameter block.
+ ///
+ public const int BadTransactionParamForm = 335544331;
+ ///
+ /// Gbak: Input and output must not have the same name.
+ ///
+ public const int GbakDupInputOutputNames = 336330763;
+ ///
+ /// Gfix: "full" or "reserve" required.
+ ///
+ public const int GfixFullReserveRequired = 335740940;
+ ///
+ /// Invalid transaction handle (expecting explicit transaction start).
+ ///
+ public const int BadTransactionHandle = 335544332;
+ ///
+ /// Gbak: Expected page size, encountered "@1".
+ ///
+ public const int GbakInvalidPageSize = 336330764;
+ ///
+ /// Gfix: User name required.
+ ///
+ public const int GfixUsernameRequired = 335740941;
+ ///
+ /// Gbak: REPLACE specified, but the first file @1 is a database.
+ ///
+ public const int GbakDbSpecified = 336330765;
+ ///
+ /// Gfix: Password required.
+ ///
+ public const int GfixPasswordRequired = 335740942;
+ ///
+ /// Gbak: Database @1 already exists.To replace it, use the -REP switch.
+ ///
+ public const int GbakDbExists = 336330766;
+ ///
+ /// Gfix: Subsystem name.
+ ///
+ public const int GfixSubsystemName = 335740943;
+ ///
+ /// Gsec: Unable to open database.
+ ///
+ public const int GsecCantOpenDb = 336723983;
+ ///
+ /// Gbak: Device type not specified.
+ ///
+ public const int GbakDeviceNotSpecified = 336330767;
+ ///
+ /// Gsec: Error in switch specifications.
+ ///
+ public const int GsecSwitchesError = 336723984;
+ ///
+ /// Gfix: Number of seconds required.
+ ///
+ public const int GfixSecondsRequired = 335740945;
+ ///
+ /// Attempt to start more than @1 transactions.
+ ///
+ public const int ExcessTransactions = 335544337;
+ ///
+ /// Gsec: No operation specified.
+ ///
+ public const int GsecNoOperationSpecified = 336723985;
+ ///
+ /// Gfix: Numeric value between 0 and 32767 inclusive required.
+ ///
+ public const int GfixNum0To32767Required = 335740946;
+ ///
+ /// Gsec: No user name specified.
+ ///
+ public const int GsecNoUserName = 336723986;
+ ///
+ /// Gfix: Must specify type of shutdown.
+ ///
+ public const int GfixNoShutdownType = 335740947;
+ ///
+ /// Information type inappropriate for object specified.
+ ///
+ public const int InappriopriateInfo = 335544339;
+ ///
+ /// No information of this type available for object specified.
+ ///
+ public const int InfoNotAvailable = 335544340;
+ ///
+ /// Gsec: Add record error.
+ ///
+ public const int GsecAddRecError = 336723987;
+ ///
+ /// Gsec: Add record error.
+ ///
+ public const int GsecModifyRecError = 336723988;
+ ///
+ /// Gbak: Gds_$blob_info failed.
+ ///
+ public const int GbakBlobInfoFailed = 336330772;
+ ///
+ /// Please retry, specifying an option.
+ ///
+ public const int GfixRetry = 335740948;
+ ///
+ /// Unknown information item.
+ ///
+ public const int UnknownInfoItem = 335544341;
+ ///
+ /// Gsec: Find / modify record error.
+ ///
+ public const int GsecFindModError = 336723989;
+ ///
+ /// Gbak: Unknown BLOB INFO item @1.
+ ///
+ public const int GbakUnknownBlobItem = 336330773;
+ ///
+ /// Action cancelled by trigger (@1) to preserve data integrity.
+ ///
+ public const int IntegrationFail = 335544342;
+ ///
+ /// Gbak: Gds_$get_segment failed.
+ ///
+ public const int GbakGetSegFailed = 336330774;
+ ///
+ /// Gsec: Record not found for user: @1.
+ ///
+ public const int GsecRecNotFound = 336723990;
+ ///
+ /// Gsec: Delete record error.
+ ///
+ public const int GsecDeleteError = 336723991;
+ ///
+ /// Gbak: Gds_$close_blob failed.
+ ///
+ public const int GbakCloseBlobFailed = 336330775;
+ ///
+ /// Gfix: Please retry, giving a database name.
+ ///
+ public const int GfixRetryDb = 335740951;
+ ///
+ /// Gbak: Gds_$open_blob failed.
+ ///
+ public const int GbakOpenBlobFailed = 336330776;
+ ///
+ /// Gsec: Find / delete record error.
+ ///
+ public const int GsecFindDeleteError = 336723992;
+ ///
+ /// Lock conflict on no wait transaction.
+ ///
+ public const int LockConflict = 335544345;
+ ///
+ /// Gbak: Failed in put_blr_gen_id.
+ ///
+ public const int GbakPutBlrGenIdFailed = 336330777;
+ ///
+ /// Gbak: Data type @1 not understood.
+ ///
+ public const int GbakUnknownType = 336330778;
+ ///
+ /// Gbak: Gds_$compile_request failed.
+ ///
+ public const int GbakCompileRequestFailed = 336330779;
+ ///
+ /// Gbak: Gds_$start_request failed.
+ ///
+ public const int GbakStartRequestFailed = 336330780;
+ ///
+ /// Gsec: Find / display record error.
+ ///
+ public const int GsecFindDisplayError = 336723996;
+ ///
+ /// Gbak: gds_$receive failed.
+ ///
+ public const int GbakReceiveFailed = 336330781;
+ ///
+ /// Gsec: Can't open database file @1.
+ ///
+ public const int GstatDbFileOpenError = 336920605;
+ ///
+ /// Gsec: Invalid parameter, no switch defined.
+ ///
+ public const int GsecInvParam = 336723997;
+ ///
+ /// Program attempted to exit without finishing database.
+ ///
+ public const int NoFinish = 335544350;
+ ///
+ /// Gstat: Can't read a database page.
+ ///
+ public const int GstatReadError = 336920606;
+ ///
+ /// Gbak: Gds_$release_request failed.
+ ///
+ public const int GbakReleaseRequestFailed = 336330782;
+ ///
+ /// Gsec: Operation already specified.
+ ///
+ public const int GsecOperationSpecified = 336723998;
+ ///
+ /// Gstat: System memory exhausted.
+ ///
+ public const int GstatSysMemoryExhausted = 336920607;
+ ///
+ /// Gbak: gds_$database_info failed.
+ ///
+ public const int GbakDbInfoFailed = 336330783;
+ ///
+ /// Gsec: Password already specified.
+ ///
+ public const int GsecPasswordSpecified = 336723999;
+ ///
+ /// Gsec: Uid already specified.
+ ///
+ public const int GsecUidAlreadySpecified = 336724000;
+ ///
+ /// Gbak: Expected database description record.
+ ///
+ public const int GbakNoDbDescription = 336330784;
+ ///
+ /// Transaction is not in limbo.
+ ///
+ public const int TransactionNotInLimbo = 335544353;
+ ///
+ /// Gsec: Gid already specified.
+ ///
+ public const int GsecGidSpecified = 336724001;
+ ///
+ /// Gbak: Failed to create database @1.
+ ///
+ public const int GbakDbCreateFailed = 336330785;
+ ///
+ /// Gsec: Project already specified.
+ ///
+ public const int GsecProjectSpecified = 336724002;
+ ///
+ /// Gbak: RESTORE: decompression length error.
+ ///
+ public const int GbakDecompressionLengthError = 336330786;
+ ///
+ /// BLOB was not closed.
+ ///
+ public const int NoBlobClose = 335544355;
+ ///
+ /// Gbak: Cannot find table @1.
+ ///
+ public const int GbakTableMissing = 336330787;
+ ///
+ /// Gsec: Organization already specified.
+ ///
+ public const int GsecOrgSpecified = 336724003;
+ ///
+ /// Gbak: Cannot find column for BLOB.
+ ///
+ public const int GbakBlobColumnMissing = 336330788;
+ ///
+ /// Gsec: First name already specified.
+ ///
+ public const int GsecFirstNameSpecified = 336724004;
+ ///
+ /// Cannot disconnect database with open transactions (@1 active).
+ ///
+ public const int OpenTransaction = 335544357;
+ ///
+ /// Gbak: Gds_$create_blob failed.
+ ///
+ public const int GbakCreateBlobFailed = 336330789;
+ ///
+ /// Gsec: Middle name already specified.
+ ///
+ public const int GsecMiddleNameSpecified = 336724005;
+ ///
+ /// Message length error ( encountered @1, expected @2).
+ ///
+ public const int MessageLengthError = 335544358;
+ ///
+ /// Gbak: Gds_$put_segment failed.
+ ///
+ public const int GbakPutSegmentFailed = 336330790;
+ ///
+ /// Gsec: Last name already specified
+ ///
+ public const int GsecLastNameSpecified = 336724006;
+ ///
+ /// Expected record length
+ ///
+ public const int GbakRecordLengthExpexted = 336330791;
+ ///
+ /// Gsec: Invalid switch specified.
+ ///
+ public const int GsecInvalidSwitch = 336724008;
+ ///
+ /// Gbak: Wrong length record, expected @1 encountered @2.
+ ///
+ public const int GbakInvalidRecordLength = 336330792;
+ ///
+ /// Gbak: Expected data type.
+ ///
+ public const int GbakExpectedDataType = 336330793;
+ ///
+ /// Gsec: Ambiguous switch specified.
+ ///
+ public const int GsecAmbiguousSwitch = 336724009;
+ ///
+ /// Gbak: Failed in store_blr_gen_id.
+ ///
+ public const int GbakGenIdFailed = 336330794;
+ ///
+ /// Gsec: No operation specified for parameters.
+ ///
+ public const int GsecNoOpForParamsSpecified = 336724010;
+ ///
+ /// No transaction for request.
+ ///
+ public const int NoTransactionForRequest = 335544363;
+ ///
+ /// Gbak: Do not recognize record type @1.
+ ///
+ public const int GbakUnknownRecordType = 336330795;
+ ///
+ /// Gsec: No parameters allowed for this operation.
+ ///
+ public const int GsecParamsNotAllowed = 336724011;
+ ///
+ /// Request synchronization error.
+ ///
+ public const int RequestSyncError = 335544364;
+ ///
+ /// Gsec: Incompatible switches specified.
+ ///
+ public const int GsecIncompatibleSwitch = 336724012;
+ ///
+ /// Gbak: Expected backup version 1..8. Found @1.
+ ///
+ public const int GbakInvalidBackupVersion = 336330796;
+ ///
+ /// Request referenced an unavailable database.
+ ///
+ public const int WrongDbRequest = 335544365;
+ ///
+ /// Gbak: Expected backup description record.
+ ///
+ public const int GbakMissingBackupDesc = 336330797;
+ ///
+ /// String truncated.
+ ///
+ public const int GbakStringTruncated = 336330798;
+ ///
+ /// Warning - record could not be restored.
+ ///
+ public const int GbakCantRestoreRecord = 336330799;
+ ///
+ /// Gds_$send failed.
+ ///
+ public const int GbakSendFailed = 336330800;
+ ///
+ /// Attempted read of a new, open BLOB.
+ ///
+ public const int BlobNoRead = 335544369;
+ ///
+ /// No table name for data.
+ ///
+ public const int GbakNoTableName = 336330801;
+ ///
+ /// Attempted action on blob outside transaction.
+ ///
+ public const int BlobOutsideTransaction = 335544370;
+ ///
+ /// Gbak: Unexpected end of file on backup file.
+ ///
+ public const int GbakUnexpectedEof = 336330802;
+ ///
+ /// Database format @1 is too old to restore to.
+ ///
+ public const int GbakDbFormatTooOld = 336330803;
+ ///
+ /// Attempted reference to BLOB in unavailable database.
+ ///
+ public const int BlobWrongDb = 335544372;
+ ///
+ /// Array dimension for column @1 is invalid.
+ ///
+ public const int GbakInvalidArrayDimension = 336330804;
+ ///
+ /// Gbak: Expected XDR record length.
+ ///
+ public const int GbakXdrLengthExpected = 336330807;
+ ///
+ /// Table @1 was omitted from the transaction reserving list.
+ ///
+ public const int UnresolvedRelation = 335544376;
+ ///
+ /// Request includes a DSRI extension not supported in this implementation.
+ ///
+ public const int UnsupportedExtension = 335544377;
+ ///
+ /// Feature is not supported.
+ ///
+ public const int FeatureNotSupported = 335544378;
+ ///
+ /// @1.
+ ///
+ public const int RandomMessage = 335544382;
+ ///
+ /// Unrecoverable conflict with limbo transaction @1.
+ ///
+ public const int FatalConflict = 335544383;
+ ///
+ /// Gfix: Internal block exceeds maximum size.
+ ///
+ public const int GfixExceedMax = 335740991;
+ ///
+ /// Gfix: Corrupt pool.
+ ///
+ public const int GfixCorruptPool = 335740992;
+ ///
+ /// Gfix: Virtual memory exhausted.
+ ///
+ public const int GfixVirtualMemoryExhausted = 335740993;
+ ///
+ /// Gbak: Cannot open backup file @1.
+ ///
+ public const int GbakOpenBackupError = 336330817;
+ ///
+ /// Gfix: Bad pool id.
+ ///
+ public const int GfixBadPool = 335740994;
+ ///
+ /// Cannot open status and error output file @1.
+ ///
+ public const int GbakOpenError = 336330818;
+ ///
+ /// Gfix: Transaction state @1 not in valid range.
+ ///
+ public const int GfixTransactionNotValid = 335740995;
+ ///
+ /// Internal error.
+ ///
+ public const int InternalDbError = 335544392;
+ ///
+ /// Gsec: Invalid user name (maximum 31 bytes allowed).
+ ///
+ public const int GsecUsernameTooLong = 336724044;
+ ///
+ /// Warning - maximum 8 significant bytes of password used.
+ ///
+ public const int GsecPasswordTooLong = 336724045;
+ ///
+ /// Gsec: Database already specified.
+ ///
+ public const int GsecDbAlreadySpecified = 336724046;
+ ///
+ /// Gsec: Database administrator name already specified.
+ ///
+ public const int GsecDbAdminAlreadySpecified = 336724047;
+ ///
+ /// Gsec: Database administrator password already specified.
+ ///
+ public const int GsecDbAdminPasswordAlreadySpecified = 336724048;
+ ///
+ /// Gsec: SQL role name already specified.
+ ///
+ public const int GsecSqlRoleAlreadySpecified = 336724049;
+ ///
+ /// Gfix: Unexpected end of input.
+ ///
+ public const int GfixUnexpectedEoi = 335741012;
+ ///
+ /// Database handle not zero.
+ ///
+ public const int DbHandleNotZero = 335544407;
+ ///
+ /// Transaction handle not zero.
+ ///
+ public const int TransactionHandleNotZero = 335544408;
+ ///
+ /// Gfix: Failed to reconnect to a transaction in database @1.
+ ///
+ public const int GfixReconnectionFail = 335741018;
+ ///
+ /// Transaction in limbo.
+ ///
+ public const int TransactionInLimbo = 335544418;
+ ///
+ /// Transaction not in limbo.
+ ///
+ public const int TransactionNotInLimbo2 = 335544419;
+ ///
+ /// Transaction outstanding.
+ ///
+ public const int TransactionOutstanding = 335544420;
+ ///
+ /// Undefined message number.
+ ///
+ public const int BadMessageNumber = 335544428;
+ ///
+ /// Gfix: Transaction description item unknown.
+ ///
+ public const int GfixUnknownTransaction = 335741036;
+ ///
+ /// Gfix: "read_only" or "read_write" required.
+ ///
+ public const int GfixModeRequired = 335741038;
+ ///
+ /// Blocking signal has been received.
+ ///
+ public const int BlockingSignal = 335544431;
+ ///
+ /// Gfix: Positive or zero numeric value required.
+ ///
+ public const int GfixPositiveOrZeroNumRequired = 335741042;
+ ///
+ /// Database system cannot read argument @1.
+ ///
+ public const int NoArgRead = 335544442;
+ ///
+ /// Database system cannot write argument @1.
+ ///
+ public const int NoArgWrite = 335544443;
+ ///
+ /// @1.
+ ///
+ public const int MiscInterpreted = 335544450;
+ ///
+ /// Transaction @1 is @2.
+ ///
+ public const int TransactionState = 335544468;
+ ///
+ /// Invalid statement handle.
+ ///
+ public const int BadStatementHandle = 335544485;
+ ///
+ /// Gbak: Blocking factor parameter missing.
+ ///
+ public const int GbakMissingBlockFactorParam = 336330934;
+ ///
+ /// Gbak: Expected blocking factor, encountered "@1".
+ ///
+ public const int GbakInvalidBlockFactorParam = 336330935;
+ ///
+ /// Gbak: A blocking factor may not be used in conjunction with device CT.
+ ///
+ public const int GbakBlockFacSpecified = 336330936;
+ ///
+ /// SQL role @1 does not exist.
+ ///
+ public const int DynRoleDoesNotExist = 336068796;
+ ///
+ /// Gbak: User name parameter missing.
+ ///
+ public const int GbakMissingUsername = 336330940;
+ ///
+ /// Gbak: Password parameter missing.
+ ///
+ public const int GbakPasswordUsername = 336330941;
+ ///
+ /// User @1 has no grant admin option on SQL role @2.
+ ///
+ public const int DynNoGrantAdminOption = 336068797;
+ ///
+ /// Lock time-out on wait transaction.
+ ///
+ public const int LockTimeout = 335544510;
+ ///
+ /// User @1 is not a member of SQL role @2.
+ ///
+ public const int DynUserNotRoleMember = 336068798;
+ ///
+ /// @1 is not the owner of SQL role @2.
+ ///
+ public const int DynDeleteRoleFailed = 336068799;
+ ///
+ /// @1 is a SQL role and not a user.
+ ///
+ public const int DynGrantRoleToUser = 336068800;
+ ///
+ /// User name @1 could not be used for SQL role.
+ ///
+ public const int DynInvalidSqlRoleName = 336068801;
+ ///
+ /// SQL role @1 already exists.
+ ///
+ public const int DynDupSqlRole = 336068802;
+ ///
+ /// Keyword @1 can not be used as a SQL role name.
+ ///
+ public const int DynKeywordSpecForRole = 336068803;
+ ///
+ /// SQL roles are not supported in on older versions of the database.
+ /// A backup and restore of the database is required.
+ ///
+ public const int DynRolesNotSupported = 336068804;
+ ///
+ /// Gbak: Missing parameter for the number of bytes to be skipped.
+ ///
+ public const int GbakMissingSkippedBytes = 336330952;
+ ///
+ /// Gbak: Expected number of bytes to be skipped, encountered "@1".
+ ///
+ public const int GbakInvalidSkippedBytes = 336330953;
+ ///
+ /// Zero length identifiers are not allowed.
+ ///
+ public const int DynZeroLengthId = 336068820;
+ ///
+ /// Gbak: Error on charset restore.
+ ///
+ public const int GbakRestoreCharsetError = 336330965;
+ ///
+ /// Gbak: Error on collation restore.
+ ///
+ public const int GbakRestoreCollationError = 336330967;
+ ///
+ /// Gbak: Unexpected I/O error while reading from backup file.
+ ///
+ public const int GbakReadError = 336330972;
+ ///
+ /// Gbak: Unexpected I/O error while writing to backup file.
+ ///
+ public const int GbakWriteError = 336330973;
+ ///
+ /// @1 cannot reference @2.
+ ///
+ public const int DynWrongGttScope = 336068840;
+ ///
+ /// Gbak: Could not drop database @1 (database might be in use).
+ ///
+ public const int GbakDbInUse = 336330985;
+ ///
+ /// Gbak: System memory exhausted.
+ ///
+ public const int GbakSysMemoryExhausted = 336330990;
+ ///
+ /// Invalid service handle.
+ ///
+ public const int BadServiceHandle = 335544559;
+ ///
+ /// Wrong version of service parameter block.
+ ///
+ public const int WrongServiceParamBlockVersion = 335544561;
+ ///
+ /// Unrecognized service parameter block.
+ ///
+ public const int UnrecognizedServiceParamBlockVersion = 335544562;
+ ///
+ /// Service @1 is not defined.
+ ///
+ public const int ServiceNotDef = 335544563;
+ ///
+ /// Feature '@1' is not supported in ODS @2.@3.
+ ///
+ public const int DynOdsNotSupportedFeature = 336068856;
+ ///
+ /// Gbak: SQL role restore failed.
+ ///
+ public const int GbakRestoreRoleFailed = 336331002;
+ ///
+ /// Gbak: SQL role parameter missing.
+ ///
+ public const int GbakRoleParamMissing = 336331005;
+ ///
+ /// Gbak: Page buffers parameter missing.
+ ///
+ public const int GbakPageBuffersMissing = 336331010;
+ ///
+ /// Gbak: Expected page buffers, encountered "@1".
+ ///
+ public const int GbakPageBuffersWrongParam = 336331011;
+ ///
+ /// Gbak: Page buffers is allowed only on restore or create.
+ ///
+ public const int GbakPageBuffersRestore = 336331012;
+ ///
+ /// Gbak: Size specification either missing or incorrect for file @1.
+ ///
+ public const int GbakInvalidSize = 336331014;
+ ///
+ /// Gbak: File @1 out of sequence.
+ ///
+ public const int GbakFileOutOfSequence = 336331015;
+ ///
+ /// Gbak: Can't join - one of the files missing.
+ ///
+ public const int GbakJoinFileMissing = 336331016;
+ ///
+ /// Gbak: Standard input is not supported when using join operation.
+ ///
+ public const int GbakStdinNotSupported = 336331017;
+ ///
+ /// Gbak: Standard output is not supported when using split operation.
+ ///
+ public const int GbakStdoutNotSupported = 336331018;
+ ///
+ /// Gbak: Backup file @1 might be corrupt.
+ ///
+ public const int GbakBackupCorrupt = 336331019;
+ ///
+ /// Gbak: Database file specification missing.
+ ///
+ public const int GbakMissingDbFileSpec = 336331020;
+ ///
+ /// Gbak: Can't write a header record to file @1.
+ ///
+ public const int GbakHeaderWriteFailed = 336331021;
+ ///
+ /// Gbak: Free disk space exhausted.
+ ///
+ public const int GbakDiskSpaceExhausted = 336331022;
+ ///
+ /// Gbak: File size given (@1) is less than minimum allowed (@2).
+ ///
+ public const int GbakSizeLessThanMinimum = 336331023;
+ ///
+ /// Gbak: Service name parameter missing.
+ ///
+ public const int GbakSvcNameMissing = 336331025;
+ ///
+ /// Gbak: Cannot restore over current database, must be SYSDBA or
+ /// owner of the existing database.
+ ///
+ public const int GbakNotOwner = 336331026;
+ ///
+ /// Gbak: "read_only" or "read_write" required.
+ ///
+ public const int GbakModeRequired = 336331031;
+ ///
+ /// Gbak: Just data ignore all constraints etc.
+ ///
+ public const int GbakJustData = 336331033;
+ ///
+ /// Restoring data only ignoring foreign key, unique, not null & other constraints.
+ ///
+ public const int GbakDataOnly = 336331034;
+ ///
+ /// INDEX @1.
+ ///
+ public const int IndexName = 335544609;
+ ///
+ /// EXCEPTION @1.
+ ///
+ public const int ExceptionName = 335544610;
+ ///
+ /// COLUMN @1.
+ ///
+ public const int ColumnName = 335544611;
+ ///
+ /// Union not supported.
+ ///
+ public const int UnionNotSupported = 335544613;
+ ///
+ /// DSQL: Unsupported DSQL construct.
+ ///
+ public const int DsqlConstructNotSupported = 335544614;
+ ///
+ /// Illegal use of keyword VALUE.
+ ///
+ public const int DsqlIllegalValKeywordUsage = 335544623;
+ ///
+ /// TABLE @1.
+ ///
+ public const int TableName = 335544626;
+ ///
+ /// PROCEDURE @1.
+ ///
+ public const int ProcedureName = 335544627;
+ ///
+ /// Specified domain or source column @1 does not exist.
+ ///
+ public const int DsqlDomainNotFound = 335544641;
+ ///
+ /// Variable @1 conflicts with parameter in same procedure.
+ ///
+ public const int DsqlVarConflict = 335544656;
+ ///
+ /// Server version too old to support all CREATE DATABASE options.
+ ///
+ public const int ServerVersionTooOld = 335544666;
+ ///
+ /// Cannot delete.
+ ///
+ public const int CannotDelete = 335544673;
+ ///
+ /// Sort error.
+ ///
+ public const int SortError = 335544675;
+ ///
+ /// Service @1 does not have an associated executable.
+ ///
+ public const int ServiceNoExe = 335544703;
+ ///
+ /// Failed to locate host machine.
+ ///
+ public const int NetLookupError = 335544704;
+ ///
+ /// Undefined service @1/@2.
+ ///
+ public const int ServiceUnknown = 335544705;
+ ///
+ /// The specified name was not found in the hosts file or Domain Name Services.
+ ///
+ public const int HostUnknown = 335544706;
+ ///
+ /// Attempt to execute an unprepared dynamic SQL statement.
+ ///
+ public const int UnpreparedStatement = 335544711;
+ ///
+ /// Service is currently busy: @1.
+ ///
+ public const int ServiceInUse = 335544716;
+ //335544731 tra_must_sweep skipped (no meaningful message)
+ ///
+ /// A fatal exception occurred during the execution of a user defined function.
+ ///
+ public const int UserDefinedFunctionException = 335544740;
+ ///
+ /// Connection lost to database.
+ ///
+ public const int LostDbConnection = 335544741;
+ ///
+ /// User cannot write to RDB$USER_PRIVILEGES.
+ ///
+ public const int NoWriteUserPrivileges = 335544742;
+ ///
+ /// A fatal exception occurred during the execution of a blob filter.
+ ///
+ public const int BlobFilterException = 335544767;
+ ///
+ /// Access violation. The code attempted to access a virtual address
+ /// without privilege to do so.
+ ///
+ public const int AccessViolationException = 335544768;
+ ///
+ /// Datatype misalignment. The attempted to read or write a value that
+ /// was not stored on a memory boundary.
+ ///
+ public const int DatatypeMisalignmentException = 335544769;
+ ///
+ /// Array bounds exceeded. The code attempted to access an array element
+ /// that is out of bounds.
+ ///
+ public const int ArrayBoundsExceededException = 335544770;
+ ///
+ /// Float denormal operand. One of the floating-point operands is too small
+ /// to represent a standard float value.
+ ///
+ public const int FloatDenormalOperandException = 335544771;
+ ///
+ /// Floating-point divide by zero. The code attempted to divide a floating-point
+ /// value by zero.
+ ///
+ public const int FloatDivideByZeroException = 335544772;
+ ///
+ /// Floating-point inexact result. The result of a floating-point operation cannot
+ /// be represented as a decimal fraction .
+ ///
+ public const int FloatInexactResultException = 335544773;
+ ///
+ /// Floating-point invalid operand. An indeterminant error occurred during a
+ /// floating-point operation.
+ ///
+ public const int FloatInvalidOperandException = 335544774;
+ ///
+ /// Floating-point overflow. The exponent of a floating-point operation is
+ /// greater than the magnitude allowed.
+ ///
+ public const int FloatOverflowException = 335544775;
+ ///
+ /// Floating-point stack check. The stack overflowed or underflowed as the
+ /// result of a floating-point operation.
+ ///
+ public const int FloatStackCheckException = 335544776;
+ ///
+ /// Floating-point underflow. The exponent of a floating-point operation is
+ /// less than the magnitude allowed.
+ ///
+ public const int FloatUnderflowException = 335544777;
+ ///
+ /// Integer divide by zero. The code attempted to divide an integer value by
+ /// an integer divisor of zero.
+ ///
+ public const int IntegerDivideByZeroException = 335544778;
+ ///
+ /// Integer overflow. The result of an integer operation caused the most
+ /// significant bit of the result to carry.
+ ///
+ public const int IntegerOverflowException = 335544779;
+ ///
+ /// An unspecified exception occurred. Exception number @1.
+ ///
+ public const int UnknownException = 335544780;
+ ///
+ /// Stack overflow. The resource requirements of the runtime stack have
+ /// exceeded the memory available to it.
+ ///
+ public const int StackOverflowException = 335544781;
+ ///
+ /// Segmentation Fault. The code attempted to access memory without privileges.
+ ///
+ public const int SegmentationFaultException = 335544782;
+ ///
+ /// Illegal Instruction. The Code attempted to perfrom an illegal operation.
+ ///
+ public const int IllegalInstructionException = 335544783;
+ ///
+ /// Bus Error. The Code caused a system bus error.
+ ///
+ public const int SystemBusException = 335544784;
+ ///
+ /// Floating Point Error. The Code caused an Arithmetic
+ /// Exception or a floating point exception.
+ ///
+ public const int FloatingPointException = 335544785;
+ ///
+ /// Cannot delete rows from external files.
+ ///
+ public const int ExtFileDeleteError = 335544786;
+ ///
+ /// Cannot update rows in external files.
+ ///
+ public const int ExtFileModifyError = 335544787;
+ ///
+ /// Unable to perform operation. You must be either SYSDBA or owner of the database.
+ ///
+ public const int AdminTaskDenied = 335544788;
+ ///
+ /// Operation was cancelled.
+ ///
+ public const int OperationCancelled = 335544794;
+ ///
+ /// User name and password are required while attaching to the services manager.
+ ///
+ public const int ServiceNoUser = 335544797;
+ ///
+ /// Data type not supported for arithmetic.
+ ///
+ public const int DatypeNotSupported = 335544801;
+ ///
+ /// Database dialect not changed.
+ ///
+ public const int DialectNotChanged = 335544803;
+ ///
+ /// Unable to create database @1.
+ ///
+ public const int DatabaseCreateFailed = 335544804;
+ ///
+ /// Database dialect @1 is not a valid dialect.
+ ///
+ public const int InvalidDialectSpecified = 335544805;
+ ///
+ /// Valid database dialects are @1.
+ ///
+ public const int ValidDbDialects = 335544806;
+ ///
+ /// Passed client dialect @1 is not a valid dialect.
+ ///
+ public const int InvalidClientDialectSpecified = 335544811;
+ ///
+ /// Valid client dialects are @1.
+ ///
+ public const int ValidClientDialects = 335544812;
+ ///
+ /// Services functionality will be supported in a later version of the product.
+ ///
+ public const int ServiceNotSupported = 335544814;
+ ///
+ /// Unable to find savepoint with name @1 in transaction context.
+ ///
+ public const int SavepointNotFound = 335544820;
+ ///
+ /// Target shutdown mode is invalid for database "@1".
+ ///
+ public const int BadShutdownMode = 335544835;
+ ///
+ /// Cannot update.
+ ///
+ public const int NoUpdate = 335544840;
+ ///
+ /// @1.
+ ///
+ public const int StackTrace = 335544842;
+ ///
+ /// Context variable @1 is not found in namespace @2.
+ ///
+ public const int ContextVarNotFound = 335544843;
+ ///
+ /// Invalid namespace name @1 passed to @2.
+ ///
+ public const int ContextNamespaceInvalid = 335544844;
+ ///
+ /// Too many context variables.
+ ///
+ public const int ContextTooBig = 335544845;
+ ///
+ /// Invalid argument passed to @1.
+ ///
+ public const int ContextBadArgument = 335544846;
+ ///
+ /// BLR syntax error. Identifier @1... is too long.
+ ///
+ public const int BlrIdentifierTooLong = 335544847;
+ ///
+ /// Time precision exceeds allowed range (0-@1).
+ ///
+ public const int InvalidTimePrecision = 335544859;
+ ///
+ /// @1 cannot depend on @2.
+ ///
+ public const int MetWrongGttScope = 335544866;
+ ///
+ /// Procedure @1 is not selectable (it does not contain a SUSPEND statement).
+ ///
+ public const int IllegalProcedureType = 335544868;
+ ///
+ /// Datatype @1 is not supported for sorting operation.
+ ///
+ public const int InvalidSortDatatype = 335544869;
+ ///
+ /// COLLATION @1.
+ ///
+ public const int CollationName = 335544870;
+ ///
+ /// DOMAIN @1.
+ ///
+ public const int DomainName = 335544871;
+ ///
+ /// A multi database transaction cannot span more than @1 databases.
+ ///
+ public const int MaxDbPerTransactionAllowed = 335544874;
+ ///
+ /// Error while parsing procedure @1' s BLR.
+ ///
+ public const int BadProcBlr = 335544876;
+ ///
+ /// Index key too big.
+ ///
+ public const int IndexKeyTooBig = 335544877;
+ ///
+ /// DSQL: Too many values ( more than @1) in member list to match against.
+ ///
+ public const int DsqlTooManyValues = 336397211;
+ ///
+ /// DSQL: Feature is not supported in dialect @1.
+ ///
+ public const int DsqlUnsupportedFeatureDialect = 336397236;
+ ///
+ /// Internal gds software consistency check (@1).
+ ///
+ public const int BugCheck = 335544333;
+ ///
+ /// Database file appears corrupt (@1).
+ ///
+ public const int DbCorrupt = 335544335;
+ ///
+ /// I/O error for file "@2".
+ ///
+ public const int IoError = 335544344;
+ ///
+ /// Corrupt system table.
+ ///
+ public const int MetadataCorrupt = 335544346;
+ ///
+ /// Operating system directive @1 failed.
+ ///
+ public const int SysRequest = 335544373;
+ //335544384 badblk skipped (no meaningful message)
+ //335544385 invpoolcl skipped (no meaningful message)
+ //335544387 relbadblk skipped (no meaningful message)
+ ///
+ /// Block size exceeds implementation restriction.
+ ///
+ public const int BlockTooBig = 335544388;
+ ///
+ /// Incompatible version of on-disk structure.
+ ///
+ public const int BadOnDiskStructureVersion = 335544394;
+ //335544397 dirtypage skipped (no meaningful message)
+ //335544398 waifortra skipped (no meaningful message)
+ //335544399 doubleloc skipped (no meaningful message)
+ //335544400 nodnotfnd skipped (no meaningful message)
+ //335544401 dupnodfnd skipped (no meaningful message)
+ //335544402 locnotmar skipped (no meaningful message)
+ ///
+ /// Database corrupted.
+ ///
+ public const int DatabaseCorrupt = 335544404;
+ ///
+ /// Checksum error on database page @1.
+ ///
+ public const int BadPage = 335544405;
+ ///
+ /// Index is broken.
+ ///
+ public const int BrokenIndex = 335544406;
+ ///
+ /// Transaction - request mismatch (synchronization error).
+ ///
+ public const int TransactionRequestMismatch = 335544409;
+ ///
+ /// Bad handle count.
+ ///
+ public const int BadHandleCount = 335544410;
+ ///
+ /// Wrong version of transaction parameter block.
+ ///
+ public const int WrongTransactionParamBlockVersion = 335544411;
+ ///
+ /// Unsupported BLR version (expected @1, encountered @2).
+ ///
+ public const int WrongBlrVersion = 335544412;
+ ///
+ /// Wrong version of database parameter block.
+ ///
+ public const int WrongDbParamBlockVersion = 335544413;
+ ///
+ /// Database corrupted.
+ ///
+ public const int BadDatabase = 335544415;
+ //335544416 nodetach skipped (no meaningful message)
+ //335544417 notremote skipped (no meaningful message)
+ //335544422 dbfile skipped (no meaningful message)
+ //335544423 orphan skipped (no meaningful message)
+ ///
+ /// Lock manager error.
+ ///
+ public const int LockManagerError = 335544432;
+ ///
+ /// SQL error code = @1.
+ ///
+ public const int SqlError = 335544436;
+ ///
+ /// Cache buffer for page @1 invalid.
+ ///
+ //335544448 bad_sec_info skipped (no meaningful message)
+ //335544449 invalid_sec_info skipped (no meaningful message)
+ public const int CacheBufferInvalid = 335544470;
+ ///
+ /// There is no index in table @1 with id @2.
+ ///
+ public const int IndexNotDefined = 335544471;
+ ///
+ /// Your user name and password are not defined.
+ /// Ask your database administrator to set up a Firebird login.
+ ///
+ public const int LoginAndPasswordNotDefined = 335544472;
+ ///
+ /// Database @1 shutdown in progress.
+ ///
+ public const int ShutdownInProgress = 335544506;
+ ///
+ /// Database @1 shutdown.
+ ///
+ public const int DatabaseShutdown = 335544528;
+ ///
+ /// Database shutdown unsuccessful.
+ ///
+ public const int ShutdownFailed = 335544557;
+ ///
+ /// Dynamic SQL Error.
+ ///
+ public const int DsqlError = 335544569;
+ ///
+ /// Cannot attach to password database.
+ ///
+ public const int PasswordAttach = 335544653;
+ ///
+ /// Cannot start transaction for password database.
+ ///
+ public const int PasswordStartTransaction = 335544654;
+ ///
+ /// Stack size insufficent to execute current request.
+ ///
+ public const int StackLimitInsufficient = 335544717;
+ ///
+ /// Unable to complete network request to host "@1".
+ ///
+ public const int NetworkError = 335544721;
+ ///
+ /// Failed to establish a connection.
+ ///
+ public const int NetConnectError = 335544722;
+ ///
+ /// Error while listening for an incoming connection.
+ ///
+ public const int NetConnectListenError = 335544723;
+ ///
+ /// Failed to establish a secondary connection for event processing.
+ ///
+ public const int NetEventConnectError = 335544724;
+ ///
+ /// Error while listening for an incoming event connection request.
+ ///
+ public const int NetEventListenError = 335544725;
+ ///
+ /// Error reading data from the connection.
+ ///
+ public const int NetReadError = 335544726;
+ ///
+ /// Error writing data to the connection.
+ ///
+ public const int NetWriteError = 335544727;
+ ///
+ /// Access to databases on file servers is not supported.
+ ///
+ public const int UnsupportedNetworkDrive = 335544732;
+ ///
+ /// Error while trying to create file.
+ ///
+ public const int IoCreateError = 335544733;
+ ///
+ /// Error while trying to open file.
+ ///
+ public const int IoOpenError = 335544734;
+ ///
+ /// Error while trying to close file.
+ ///
+ public const int IoCloseError = 335544735;
+ ///
+ /// Error while trying to read from file.
+ ///
+ public const int IoReadError = 335544736;
+ ///
+ /// Error while trying to write to file.
+ ///
+ public const int IoWriteError = 335544737;
+ ///
+ /// Error while trying to delete file.
+ ///
+ public const int IoDeleteError = 335544738;
+ ///
+ /// Error while trying to access file.
+ ///
+ public const int IoAccessError = 335544739;
+ ///
+ /// Your login @1 is same as one of the SQL role name.
+ /// Ask your database administrator to set up a valid Firebird login.
+ ///
+ public const int LoginSameAsRoleName = 335544745;
+ ///
+ /// The file @1 is currently in use by another process. Try again later.
+ ///
+ public const int FileInUse = 335544791;
+ ///
+ /// Unexpected item in service parameter block, expected @1.
+ ///
+ public const int UnexpectedItemInServiceParamBlock = 335544795;
+ ///
+ /// Function @1 is in @2, which is not in a permitted directory for external functions.
+ ///
+ public const int ExternFunctionDirectoryError = 335544809;
+ ///
+ /// File exceeded maximum size of 2GB. Add another database file or use a 64 bit I/O
+ /// version of Firebird.
+ ///
+ public const int Io32BitExceededError = 335544819;
+ ///
+ /// Access to @1 "@2" is denied by server administrator.
+ ///
+ public const int AccessDeniedByAdmin = 335544831;
+ ///
+ /// Cursor is not open.
+ ///
+ public const int CursorNotOpen = 335544834;
+ ///
+ /// Cursor is already open.
+ ///
+ public const int CursorAlreadyOpen = 335544841;
+ ///
+ /// Connection shutdown.
+ /// Symbol: att_shutdown
+ ///
+ public const int ConnectionShutdown = 335544856;
+ ///
+ /// Login name too long (@1 characters, maximum allowed @2).
+ ///
+ public const int LoginTooLong = 335544882;
+ ///
+ /// Invalid database handle (no active connection).
+ ///
+ public const int BadDbHandle = 335544324;
+ ///
+ /// Unavailable database.
+ ///
+ public const int DbUnavailable = 335544375;
+ ///
+ /// Implementation limit exceeded.
+ ///
+ public const int ImplementationExceeded = 335544381;
+ ///
+ /// Too many requests
+ /// Symbol: nopoolids
+ ///
+ public const int TooManyRequests = 335544386;
+ ///
+ /// Buffer exhausted.
+ ///
+ public const int BufferExhausted = 335544389;
+ ///
+ /// Buffer in use.
+ ///
+ public const int BufferInUse = 335544391;
+ ///
+ /// Request in use
+ ///
+ public const int RequestInUse = 335544393;
+ ///
+ /// No lock manager available.
+ ///
+ public const int NoLockManager = 335544424;
+ ///
+ /// Unable to allocate memory from operating system.
+ ///
+ public const int OperationSystemMemAllocationError = 335544430;
+ ///
+ /// Update conflicts with concurrent update.
+ ///
+ public const int UpdateConflict = 335544451;
+ ///
+ /// Object @1 is in use.
+ ///
+ public const int ObjectInUse = 335544453;
+ ///
+ /// Cannot attach active shadow file.
+ ///
+ public const int ShadowAccessed = 335544455;
+ ///
+ /// A file in manual shadow @1 is unavailable.
+ ///
+ public const int ShadowMissing = 335544460;
+ ///
+ /// Cannot add index, index root page is full.
+ ///
+ public const int IndexRootPageFull = 335544661;
+ ///
+ /// Sort error: not enough memory.
+ ///
+ public const int SortMemError = 335544676;
+ ///
+ /// Request depth exceeded (Recursive definition?).
+ ///
+ public const int RequestDepthExceeded = 335544683;
+ ///
+ /// Sort record size of @1 bytes is too big.
+ ///
+ public const int SortRecordSizeError = 335544758;
+ ///
+ /// Too many open handles to database.
+ ///
+ public const int TooManyHandles = 335544761;
+ ///
+ /// Cannot attach to services manager.
+ ///
+ public const int ServiceAttachError = 335544792;
+ ///
+ /// The service name was not specified.
+ ///
+ public const int ServiceNameMissing = 335544799;
+ ///
+ /// Unsupported field type specified in BETWEEN predicate.
+ ///
+ public const int OptimizerBetweenError = 335544813;
+ ///
+ /// Invalid argument in EXECUTE STATEMENT-cannot convert to string.
+ ///
+ public const int ExecSqlInvalidArg = 335544827;
+ ///
+ /// Wrong request type in EXECUTE STATEMENT '@1'.
+ ///
+ public const int ExecSqlInvalidRequest = 335544828;
+ ///
+ /// Variable type (position @1) in EXECUTE STATEMENT '@2' INTO does
+ /// not match returned column type.
+ ///
+ public const int ExecSqlInvalidVariable = 335544829;
+ ///
+ /// Too many recursion levels of EXECUTE STATEMENT.
+ ///
+ public const int ExecSqlMaxCallExceeded = 335544830;
+ ///
+ /// Cannot change difference file name while database is in backup mode.
+ ///
+ public const int WrongBackupState = 335544832;
+ ///
+ /// Partner index segment no @1 has incompatible data type
+ ///
+ public const int PartnerIndexIncompatibleType = 335544852;
+ ///
+ /// Maximum BLOB size exceeded.
+ ///
+ public const int BlobTooBig = 335544857;
+ ///
+ /// Stream does not support record locking.
+ ///
+ public const int RecordLockNotSupported = 335544862;
+ ///
+ /// Cannot create foreign key constraint @1. Partner index does not exist or is inactive.
+ ///
+ public const int PartnerIndexNotFound = 335544863;
+ ///
+ /// Transactions count exceeded. Perform backup and restore to make database
+ /// operable again.
+ ///
+ public const int TransactionNumExceeded = 335544864;
+ ///
+ /// Column has been unexpectedly deleted.
+ ///
+ public const int FieldDisappeared = 335544865;
+ ///
+ /// Concurrent transaction number is @1.
+ ///
+ public const int ConcurrentTransaction = 335544878;
+ ///
+ /// Maximum user count exceeded. Contact your database administrator
+ ///
+ public const int MaxUsersExceeded = 335544744;
+ ///
+ /// Drop database completed with errors.
+ ///
+ public const int DropDatabaseWithErrors = 335544667;
+ ///
+ /// Record from transaction @1 is stuck in limbo.
+ ///
+ public const int RecordInLimbo = 335544459;
+ ///
+ /// Deadlock occured.
+ ///
+ public const int Deadlock = 335544336;
+ ///
+ /// File @1 is not a valid database.
+ ///
+ public const int BadDbFormat = 335544323;
+ ///
+ /// Connection rejected by remote interface.
+ ///
+ public const int ConnectionReject = 335544421;
+ ///
+ /// Secondary server attachments cannot validate databases.
+ ///
+ public const int CantValidate = 335544461;
+ ///
+ /// Secondary server attachments cannot start logging.
+ ///
+ public const int CantStartLogging = 335544464;
+ ///
+ /// Bad parameters on attach or create database.
+ /// Symbol: bad_dpb_content
+ ///
+ public const int BadDatabaseCreationParams = 335544325;
+ ///
+ /// Database detach completed with errors.
+ ///
+ public const int BadDetach = 335544441;
+ ///
+ /// Connection lost to pipe server.
+ ///
+ public const int ConnectionLost = 335544648;
+ ///
+ /// No rollback performed.
+ ///
+ public const int NoRollback = 335544447;
+ ///
+ /// Firebird error.
+ ///
+ public const int FirebirdError = 335544689;
+}