7#ifndef _ADSP_SYSTEM_ERROR_H_
8#define _ADSP_SYSTEM_ERROR_H_
10#include <module/iadk/adsp_error_code.h>
Definition fixed_array.h:13
static Enum const MinValue
Indicates the minimal value in the enumeration list.
Definition system_error.h:31
Type & Value()
Gets a reference on the error code value.
Definition system_error.h:69
static Enum const MaxValue
Indicates the maximal value in the enumeration list.
Definition system_error.h:33
bool operator==(Type a)
Evaluates the ErrorCode value against a given value.
Definition system_error.h:52
const Type & Value() const
Gets a const reference on the error code value.
Definition system_error.h:60
Enum
list of named error codes
Definition system_error.h:23
@ INVALID_PARAMETERS
Definition system_error.h:25
@ FATAL_FAILURE
Definition system_error.h:27
@ NO_ERROR
Definition system_error.h:24
@ BUSY
Definition system_error.h:26
ErrorCode(Type value)
Initializes a new ErrorCode instance given a value of error code.
Definition system_error.h:36
int Type
type of the error code value
Definition system_error.h:20
Type operator()() const
Returns the current value of the ErrorCode.
Definition system_error.h:40
char value[]
Definition tlv.h:2