FastLED 3.9.15
Loading...
Searching...
No Matches

◆ ResultError

enum class fl::ResultError : u8
strong

Generic error codes for expected type.

Default error type when no specific error enum is needed

Enumerator
OK 

No error (not typically used)

UNKNOWN 

Unknown or unspecified error.

INVALID_ARGUMENT 

Invalid argument provided.

OUT_OF_RANGE 

Value out of valid range.

NOT_INITIALIZED 

Object not initialized.

ALREADY_INITIALIZED 

Object already initialized.

ALLOCATION_FAILED 

Memory allocation failed.

TIMEOUT 

Operation timed out.

BUSY 

Resource is busy.

NOT_SUPPORTED 

Operation not supported.

IO_ERROR 

Input/output error.

Definition at line 47 of file expected.h.

47 : u8 {
48 OK,
49 UNKNOWN,
55 TIMEOUT,
56 BUSY,
59};
unsigned char u8
Definition stdint.h:131
@ NOT_INITIALIZED
Object not initialized.
Definition expected.h:52
@ ALREADY_INITIALIZED
Object already initialized.
Definition expected.h:53
@ IO_ERROR
Input/output error.
Definition expected.h:58
@ NOT_SUPPORTED
Operation not supported.
Definition expected.h:57
@ OUT_OF_RANGE
Value out of valid range.
Definition expected.h:51
@ BUSY
Resource is busy.
Definition expected.h:56
@ ALLOCATION_FAILED
Memory allocation failed.
Definition expected.h:54
@ TIMEOUT
Operation timed out.
Definition rx.h:153
@ OK
No error (not typically used)
Definition rx.h:69
@ INVALID_ARGUMENT
Invalid input arguments.
Definition rx.h:72