rcutils  master
C API providing common utilities and data structures.
Public Attributes | List of all members
rcutils_error_state_t Struct Reference

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

#include <error_handling.h>

Public Attributes

char message [RCUTILS_ERROR_STATE_MESSAGE_MAX_LENGTH]
 User message storage, limited to RCUTILS_ERROR_STATE_MESSAGE_MAX_LENGTH characters. More...
 
char file [RCUTILS_ERROR_STATE_FILE_MAX_LENGTH]
 
uint64_t line_number
 Line number of error. More...
 

Detailed Description

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

Member Data Documentation

◆ message

char rcutils_error_state_t::message[RCUTILS_ERROR_STATE_MESSAGE_MAX_LENGTH]

User message storage, limited to RCUTILS_ERROR_STATE_MESSAGE_MAX_LENGTH characters.

◆ file

char rcutils_error_state_t::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.

◆ line_number

uint64_t rcutils_error_state_t::line_number

Line number of error.


The documentation for this struct was generated from the following file: