MVault 0.0.1
|
Enum with all possible vault operation results. More...
Enumerations | |
enum class | mvlt::VaultOperationResultCode { OtherParentVaultNotValid , SameVaultRecordSetInRequest = -10 , VaultOperationResultCode::TryToAddUniqueKeyInNonEmptyVaultWithoutLambda = -9 , VaultOperationResultCode::DuplicateKey = -8 , VaultOperationResultCode::TryToUpdateUniqueKey = -7 , VaultOperationResultCode::RecordAlredyInSet = -6 , VaultOperationResultCode::ParentVaultNotMatch = -5 , VaultOperationResultCode::ParentVaultNotValid = -4 , VaultOperationResultCode::DataRecordNotValid = -3 , VaultOperationResultCode::WrongKey = -2 , VaultOperationResultCode::WrongType = -1 , VaultOperationResultCode::Idle = 0 , VaultOperationResultCode::WrongValue = 1 , VaultOperationResultCode::UniqueKeyValueAlredyInSet = 2 , VaultOperationResultCode::Success = 3 } |
Enum with all error handling codes. More... | |
Enum with all possible vault operation results.
Enum with all error handling codes.
Enumerator | |
---|---|
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. |
TryToUpdateUniqueKey | 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. |