pub enum ErrorCode {
Show 30 variants
ConfigInvalidParameter = 1_001,
ConfigMissingParameter = 1_002,
ConfigConflictingParameters = 1_003,
ConfigFileNotFound = 1_004,
ProcessingBufferSizeMismatch = 2_001,
ProcessingSampleRateMismatch = 2_002,
ProcessingRealtimeViolation = 2_003,
ProcessingResourceExhausted = 2_004,
HrtfDatabaseLoadFailed = 3_001,
HrtfInvalidPosition = 3_002,
HrtfInterpolationFailed = 3_003,
PositionInvalidCoordinates = 4_001,
PositionTrackingUnavailable = 4_002,
PositionCalibrationRequired = 4_003,
RoomInvalidDimensions = 5_001,
RoomInvalidMaterial = 5_002,
RoomRayTracingFailed = 5_003,
AudioUnsupportedFormat = 6_001,
AudioClippingDetected = 6_002,
AudioBufferIssue = 6_003,
MemoryOutOfMemory = 7_001,
MemoryPoolExhausted = 7_002,
MemoryCacheMiss = 7_003,
GpuNotAvailable = 8_001,
GpuCudaError = 8_002,
GpuAllocationFailed = 8_003,
PlatformNotSupported = 9_001,
PlatformSdkInitFailed = 9_002,
PlatformFeatureUnavailable = 9_003,
Generic = 10_000,
}Expand description
Error codes for programmatic error handling
Variants§
ConfigInvalidParameter = 1_001
Configuration errors (1000-1999) Invalid parameter error code
ConfigMissingParameter = 1_002
Missing parameter error code
ConfigConflictingParameters = 1_003
Conflicting parameters error code
ConfigFileNotFound = 1_004
Configuration file not found error code
ProcessingBufferSizeMismatch = 2_001
Processing errors (2000-2999) Buffer size mismatch error code
ProcessingSampleRateMismatch = 2_002
Sample rate mismatch error code
ProcessingRealtimeViolation = 2_003
Real-time constraint violation error code
ProcessingResourceExhausted = 2_004
Resource exhaustion error code
HrtfDatabaseLoadFailed = 3_001
HRTF errors (3000-3999) HRTF database load failed error code
HrtfInvalidPosition = 3_002
Invalid HRTF position error code
HrtfInterpolationFailed = 3_003
HRTF interpolation failed error code
PositionInvalidCoordinates = 4_001
Position errors (4000-4999) Invalid coordinates error code
Tracking system unavailable error code
PositionCalibrationRequired = 4_003
Calibration required error code
RoomInvalidDimensions = 5_001
Room errors (5000-5999) Invalid room dimensions error code
RoomInvalidMaterial = 5_002
Invalid material properties error code
RoomRayTracingFailed = 5_003
Ray tracing computation failed error code
AudioUnsupportedFormat = 6_001
Audio errors (6000-6999) Unsupported audio format error code
AudioClippingDetected = 6_002
Audio clipping detected error code
AudioBufferIssue = 6_003
Audio buffer issue error code
MemoryOutOfMemory = 7_001
Memory errors (7000-7999) Out of memory error code
MemoryPoolExhausted = 7_002
Memory pool exhausted error code
MemoryCacheMiss = 7_003
Cache miss error code
GpuNotAvailable = 8_001
GPU errors (8000-8999) GPU not available error code
GpuCudaError = 8_002
CUDA error code
GpuAllocationFailed = 8_003
GPU memory allocation failed error code
PlatformNotSupported = 9_001
Platform errors (9000-9999) Platform not supported error code
PlatformSdkInitFailed = 9_002
Platform SDK initialization failed error code
Platform feature unavailable error code
Generic = 10_000
Generic errors (10000+) Generic error code
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more