Function caprock_error_name

Function Documentation

char const *caprock_error_name(caprock_error_t code)

Return a string representation of the given error code. Also never returns nullptr, see caprock_error_message above.

Parameters

code[in] The error code to query.

Returns

The name of the error constant (enum value) as a string.