#[non_exhaustive]#[repr(u8)]pub enum CError {
Show 17 variants
Internal = 1,
InvalidState = 2,
EndOfMethod = 3,
NotSupported = 16,
NotImplemented = 17,
InvalidArgument = 18,
InvalidType = 19,
OperatorMissing = 20,
NotFound = 32,
MemoryAllocationFailed = 33,
AccessFailed = 34,
InvalidProgram = 35,
InvalidExternalData = 36,
OutOfResources = 37,
DelegateInvalidCompatibility = 48,
DelegateMemoryAllocationFailed = 49,
DelegateInvalidHandle = 50,
}Expand description
Error codes returned by the Cpp library.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Internal = 1
An internal error occurred.
InvalidState = 2
Status indicating the executor is in an invalid state for a target
EndOfMethod = 3
Status indicating there are no more steps of execution to run
NotSupported = 16
Operation is not supported in the current context.
NotImplemented = 17
Operation is not yet implemented.
InvalidArgument = 18
User provided an invalid argument.
InvalidType = 19
Object is an invalid type for the operation.
OperatorMissing = 20
Operator(s) missing in the operator registry.
NotFound = 32
Requested resource could not be found.
MemoryAllocationFailed = 33
Could not allocate the requested memory.
AccessFailed = 34
Could not access a resource.
InvalidProgram = 35
Error caused by the contents of a program.
InvalidExternalData = 36
Error caused by the contents of external data.
OutOfResources = 37
Does not have enough resources to perform the requested operation.
DelegateInvalidCompatibility = 48
Init stage: Backend receives an incompatible delegate version.
DelegateMemoryAllocationFailed = 49
Init stage: Backend fails to allocate memory.
DelegateInvalidHandle = 50
Execute stage: The handle is invalid.
Trait Implementations§
Source§impl Error for CError
Available on crate feature std only.
impl Error for CError
std only.