note
VeloxDB is still in beta and APIs are subject to change. We are in the process of completing the documentation, so some sections may be incomplete or empty at this time.
Enum DatabaseErrorType
Enum containing all possible database errors.
Namespace: VeloxDB
Assembly: vlxc.dll
Syntax
public enum DatabaseErrorType
Fields
Name | Description |
---|---|
AbstractClassNonAbstractParent | Abstract class must not inherit from non abstract class. |
AbstractClassWriteAttempt | Write operation attempted on an abstract class. |
AbstractEventInNonAbstractClass | Non-abstract class declares abstract event. |
AbstractMethodInNonAbstractClass | Non-abstract class declares abstract method. |
AbstractPropertyInNonAbstractClass | Non-abstract class declares abstract property. |
AssemblyNameAlreadyExists | Assembly with same name already exist. |
CircularInheritance | Circular inheritance chain detected. |
ClassWithoutNamespace | Class must be defined in a namespace. |
CommitClosedTransaction | Transaction is closed and cannot be committed. |
ConcurrentConfigUpdate | Concurrent update of configuration occurred. |
ConcurrentTranLimitExceeded | Maximum number of concurrent transactions has been exceeded. |
Conflict | Object is in conflict with another transaction. |
DatabaseBusy | An internal state change has prevented the transaction from being created. |
DatabaseClassNotPublic | Database class is not public. |
DatabaseDisposed | Database has been disposed. |
DatabaseModelMismatch | Database model mismatch. The supplied assemblies do not match the existing database model. To update the model, set allowModelUpdate to true. |
DbAPIAbstractOrInterface | Type does not define parameterless constructor. |
DbAPIBaseError | Base error for all DbAPI errors. |
DbAPIDuplicateOperationName | Operation name is already used by a different operation in the same API. |
DbAPIEventDefinition | API contains an event. Events are not supported. |
DbAPIGenericType | Type is generic. Generic types are not supported. |
DbAPIInvalidExceptionBaseType | Operation error type does not inherit from DbAPIErrorException. |
DbAPIMaxParamCountExceeded | Maximum number of parameters exceeded for operation. |
DbAPIMaxPropertyCountExceeded | Maximum number of properties exceeded in a single database API type (including inherited properties). |
DbAPIMissingConstructor | Type does not define parameterless constructor. |
DbAPINameDuplicate | API uses a name that is already used by another API. |
DbAPINonSerializableType | Type is not serializable. |
DbAPIOperationRequiredParamsMissing | Operation does not define mandatory parameters. |
DbAPIOutParam | Operation defines an out/ref parameter. Out/ref parameters are not supported. |
DbAPIPropertyDefinition | API contains a property. Properties are not supported. |
DbAPIUnaccessibleType | Type is not public. |
DeleteNonExistent | Object could not be deleted because it does not exist in the database. |
DeleteReferenced | Object could not be deleted because it is being referenced by another object. |
DotNetInteractiveNotSupported | VeloxDBEmbedded cannot be used from .NET Interactive at the moment. |
DuplicateClassId | Class with duplicated Id detected. |
DuplicateClassName | Class with duplicate name detected. |
DuplicateIndexName | Index does not have a unique full name. |
DuplicatePropertyId | Property with duplicate id detected. |
DuplicatePropertyName | Property with duplicate name detected. |
FailedToCreateInstance | Constructor of Database API class throws an exception. |
GenericClassNotSupported | Generic classes are not supported as DatabaseObjects. |
IdUnavailable | Database failed to generate an id for a newly created object. Id range in the database has been used up. |
IndexConflict | Conflict occured on a key in an index. |
IndexIndexesInvalidProperty | Index indexes invalid property. |
IndexIndexesPropertyMultipleTimes | Property is indexed multiple times by the same index. |
IndexIndexesUnknownProperty | Class may not be indexed by the index because it does not contain referenced property. |
IndexLockContentionLimitExceeded | Failed to read index key. Limit for maximum lock contention has been exceeded. |
IndexWithoutClasses | No classes indexed by the index. |
IndexWithoutProperties | Index does not define any properties. |
InsertedPropertyClassAddedToIndex | Index has been added to an existing class, with a newly inserted property. This has to be done as two separate transactions. |
InsertedReferencePropertyMultiplicity | Inserted reference property has an invalid multiplicity of one. |
InvalidArgument | Server called with invalid argument. |
InvalidAssembly | Invalid assembly, the assembly has failed IL verification. |
InvalidAssemblyFilename | Invalid assembly filename. Name can contain only following characters a-z, A-Z, 0-9, _, . and space. It must end with ".dll". |
InvalidAssemblyTargetFramework | Invalid assembly target framework, the assembly is targeting a .NET version that is newer than the one VeloxDB is using. |
InvalidAssemblyVersionGuid | Assembly Version Guid does not match the current assembly version guid. This indicates that assemblies have been changed during the update process. |
InvalidChangesetFormat | Changeset has an invalid format. |
InvalidClassId | Invalid class id detected. |
InvalidDefaultValue | Default value for property is invalid. |
InvalidDeleteTargetAction | Delete target action is invalid for reference. |
InvalidDirectoryName | Invalid directory name. Name can contain only following characters a-z, A-Z, 0-9, _, ., / and space. |
InvalidIndex | Index type is invalid or one or more index property types are invalid. |
InvalidInverseReferencePropertyType | Inverse reference property is of invalid type. Inverse references must be of type InverseReferenceSet<T>. |
InvalidInverseReferenceTarget | Invalid target of inverse reference. |
InvalidLogDirectory | Log directory does not exist, is invalid, not an absolute path or inaccessible. |
InvalidLogName | Log name is invalid. |
InvalidModelDescVersion | User database data model has been modified. |
InvalidPropertyType | Property has an invalid type. The type is not supported by VeloxDB. |
InvalidPropertyTypeModification | Invalid property modification detected. |
InvalidReferencedClass | Object references invalid class. |
InvalidRequest | Invalid request. |
InvalidTransactionThread | Attempted to access transaction from the non-owner thread. |
InverseReferenceNotTracked | Inverse reference is not tracked for referenced property. See DatabaseReferenceAttribute. |
InverseReferencePropertyTargetsInvalidClass | Inverse reference property targets invalid class which does not own the reference. |
InverseReferencePropertyTargetsUnknownClass | Inverse reference property targets unknown class. |
InverseReferencePropertyTargetsUnknownProperty | Inverse reference property targets unknown reference property. |
InverseReferencePropertyTargetsUntrackedProperty | Inverse reference property targets nontracked reference property. |
InverseRereferncePropertyIsNotAbstract | Inverse reference property must be declared abstract. |
LogCountLimitExceeeded | Maximum number of allowed logs exceeded. |
MaximumNumberOfIndexesPerClassExceeded | Maximum number of indexes per single class exceeded for class. |
MaximumNumberOfInverseReferencesPerClass | Number of references referencing a given class exceeds maximum allowed number. |
MaximumNumberOfPropertiesInClassExceeded | Number of properties in a class exceeds maximum allowed count. |
MaximumNumberOfPropertiesInIndexExceeded | Maximum number of properties exceeded in an index. |
MissingAttribute | Class is not decorated with DatabaseClassAttribute. |
MissingEmptyConstructor | Database class does not provide an empty constructor. |
MissingGetter | Inverse reference property must have a getter. |
MissingPersistanceDescriptor | User transactions are not allowed because persistance of user database has not been configured. |
MissingReferencedAssembly | Uploaded assembly references an unknown assembly. Make sure that you have provided all assemblies. |
MustInheritDatabaseObject | Class does not contain DatabaseObject in its hierarchy. |
NonUniqueId | Id uniqueness constraint has been violated. |
NonUniqueLogName | Log name is not unique. |
NotApplicable | This operation is not applicable. |
NotInGlobalWriteCluster | Not in global write cluster. |
NotInLocalWriteCluster | Not in local write cluster. |
NullArgument | Server called with null argument. |
NullReferenceNotAllowed | Property has an invalid null reference. |
ObjectLockContentionLimitExceeded | Failed to read object. Limit for maximum lock contention has been exceeded. |
PropertyCantBeSetToNull | Property must not specify SetToNull because it has multiplicity set to one. |
PropertyIsNotAbstract | Property must be declared abstract. |
PropertyMissingGetterAndSetter | Property must define getter and setter. |
PropertyReferencesUnknownClass | Property of class references unknown class. |
PropertyTypeInvalid | Property has an invalid type. This might occurr if a reference property is marked with DatabasePropertyAttribute. |
ReadTranWriteAttempt | Write operation attempted in a read transaction. |
ReferencePropertyReferencesInvalidClass | Reference property references invalid class. |
ReferencePropertyWithSetter | Inverse reference property must not define a setter. |
RetryableBaseError | This error is never returned, all retryable error codes have value larger than this error. |
SetterFound | Inverse reference property must not define a setter. |
StringPropertyCantHaveDefaultValue | Default value for string property is not allowed. |
TransactionCanceled | Transaction hase been closed internally by the database. |
TransactionClosed | Transaction has been closed. It can no longer be used. |
TransactionNotAllowed | Transaction is not allowed. This usually occurs when a transaction is attempted on a non primary write replica, or a write transaction is attempted on a read replica. |
UnavailableCommitResult | Commit request did not produce a valid response. This can occur when primary write replica experiences connectivity issues. The result of the commit attempt is unknown. |
UniquenessConstraint | Uniqueness constraint has been violated on the index. |
UnknownBaseClass | Base class could not be found. |
UnknownIndex | Class contains unknown index. |
UnknownReference | Property references unknown object." |
UnknownUserAssembly | Referenced assembly doesn't exist. |
UpdateNonExistent | Object could not be updated because it does not exist in the database. |
ZeroIdProvided | Changeset operation uses null (zero) id. |