Function CustomErrorString

Function Documentation

const char *CustomErrorString(void *custom_context, int errcode)

Get the string for an error code.

Return

The error code string, or nullptr if the error code has no string representation.

Parameters
  • custom_context: The custom state associated with the error code. Can be nullptr if no custom state.

  • errcode: The error code.