Function caprock_error_message

Function Documentation

char const *caprock_error_message(caprock_error_t code)

Return the error message associated with the given error code. Never returns nullptr; if an unknown error code is given, an “unidentified error” string is returned.

Parameters

code[in] The error code to query.

Returns

The message defined above to describe the error code.