HomeManualTopicsTypesSymbols

std::error_message_text_of

retrieves the error message text of the error object

Parameters

None

Results

None

Example

load! $buf "some-non-existing-file" on buf.is_an_error: println! error_message_text_of(buf)

Output

OPEN FAILED

Topic

Errors

See also

std_types::error the prototype object for all error objects
std::error_category_of retrieves the error category of the error object
std::error_details_of retrieves the error details of the error object
std::errno_of retrieves the errno value of the error object
std::failed_attribute_of retrieves the *attribute* associated with the error object

Implemented by

std_types::error returns the error message text of the error object