All error types of the MAXON API are based on the maxon::ErrorInterface. This interface defines functions to set and get the information stored in the error object.
For creating new error types based on this interface see Error Types and Interface Basics.
Basic information stored in an error object is accessed with:
The following data may or may not be set, depending on the error:
Additionally, error objects provide these functions: