MVault 1.0.0
Simple c++ database
|
Enum with all possible vault operation results. More...
Enum with all possible vault operation results.
|
strong |
Enum with all error handling codes.
Enumerator | |
---|---|
OtherParentVaultNotValid | This code is returned when working with VaultRecordSet when another object has an invalid parent Vault. |
SameVaultRecordSet | This code is returned when trying to call operations on the VaultRecordSet object itself. |
TryToAddUniqueKeyInNonEmptyVaultWithoutLambda | This code is returned when trying to add unique key without lamda in non-empty vault. |
DuplicateKey | This code is returned when trying to add key which alredy in vault. |
UniqueKey | This code is returned when trying to update default value in an unique key. |
RecordAlredyInSet | This code is returned when trying to add an record to the set when it is already in it. |
ParentVaultNotMatch | This code is returned during operations on VaultRecordSet when objects depend on different Vaults. |
ParentVaultNotValid | This code is returned when calling VaultRecordSet operations when the parent Vault is not valid. |
DataRecordNotValid | This code is returned when data is requested from the VaultRecordRef and the record it refers to is not valid. |
WrongKey | This code is returned when the requested key has not been found. |
WrongType | This code is returned when the requested type does not match the saved type. |
Idle | The default state. |
WrongValue | This value is returned when the key was found, the requested type and the saved type are equal, but the requested value was not found. |
UniqueKeyValueAlredyInSet | This value is returned when the key was found, the requested type and the saved type are equal, but the new value alredy in vault. |
Success | This value is returned when the request was completely successful. |