File result.h

Common result codes used within the poco library.

Defines

RES_CODE(group, code)

Macro to define an error code within the poco error space (0xXXYY).

Parameters:
  • group – Group this error code belongs to.

  • code – Error code (YY).

Typedefs

typedef uint32_t Result

Enums

enum result_category

Values:

enumerator RES_GROUP_GENERAL

General space for common error codes.

enumerator RES_GROUP_CORE
enumerator RES_GROUP_QUEUE
enumerator RES_GROUP_EVENT
enumerator RES_GROUP_MUTEX
enumerator RES_GROUP_STREAM
enumerator RES_GROUP_SEMAPHORE
enum res_codes_general

General purpose error codes.

Values:

enumerator RES_OK

No error.

enumerator RES_NO_MEM

No memory available.

enumerator RES_INVALID_STATE

Cannot perform operation in the current state.

enumerator RES_INVALID_VALUE

Provided value is outside the expected range.

enumerator RES_OVERFLOW

Operation that would cause an overflow has occurred.

enumerator RES_TIMEOUT

Operation exceeded maximum allowable time.

enumerator RES_NOTIFY_FAILED

A scheduler notification failed.

Warning

This is a critical failure and indicates the number of events the scheduler has been configured with is not sufficient.