Struct rcutils_error_state_s

Struct Documentation

struct rcutils_error_state_s

Struct which encapsulates the error state set by RCUTILS_SET_ERROR_MSG().

Public Members

char message[RCUTILS_ERROR_STATE_MESSAGE_MAX_LENGTH]

User message storage, limited to RCUTILS_ERROR_STATE_MESSAGE_MAX_LENGTH characters.

char file[RCUTILS_ERROR_STATE_FILE_MAX_LENGTH]

File name, limited to what’s left from RCUTILS_ERROR_STATE_MAX_SIZE characters after subtracting storage for others.

uint64_t line_number

Line number of error.