Benchmarks Documentation Examples Repository Blog Contact

Named constants for errors

Macros

E_OK

No error. Operation completed successfully.

E_OUT_OF_RANGE

Object ID passed by the caller is out of range.

E_OUT_OF_STACKS

There is no stack space to be allocated for the thread.

E_TASK_RUNNING

Internal error. Suggests that operation is made on thread that is already running while the semantics of the operation suggests is should not be.

E_INVALID_ADDRESS

Internal error. Invalid address has been passed by the caller.

E_MISALIGNED

Internal error. MPU region is misaligned and can’t be configured into the hardware.

E_WRONG_SIZE

Internal error. MPU region size is wrong.

E_BUSY

Object is busy and can’t complete the requested operation.

E_DEADLK

Deadlock detected.

E_NOTAVAIL

Object or service is not available.

E_INVALID

Caller passed generally invalid argument.

E_IN_TOO_DEEP

RPC call cannot be dispatched because this thread is already too deep in the RPC call tree.

E_OUT_OF_NOTIFICATIONS

Too many pending notifications for differnt objects.

E_YIELD

Scheduler yield is required.

E_TIMEOUT

Operation timed out.

E_ACCESS

Access denied.

E_OK_NO_WAIT

Operation completed successfully with no waiting. This error code is only reported where there is possibility of waiting and it makes sense to report waited/not waited state.

E_OUT_OF_THREADS

Internal error. No more free threads.

64kB of protected memory ought to be enough for everyone.