MapLink Pro .
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
envitia::ThrowingError Struct Reference
Inheritance diagram for envitia::ThrowingError:

Public Member Functions

 ThrowingError (int32_t error_code, TSLErrorCategory error_category, char const *fmt="",...)
 Record a formatted error with the given code and category.
char const * what () const noexcept override
 Return the exception message.

Constructor & Destructor Documentation

◆ ThrowingError()

envitia::ThrowingError::ThrowingError ( int32_t error_code,
TSLErrorCategory error_category,
char const * fmt = "",
... )

Record a formatted error with the given code and category.

Parameters
error_codeError identifier.
error_categorySeverity category for the error.
fmtOptional printf-style format string.
...Values substituted into the format string.

Member Function Documentation

◆ what()

char const * envitia::ThrowingError::what ( ) const
overridenoexcept

Return the exception message.

Returns
The exception's message string.