HomeManualTopicsTypesSymbols

std::errno_of

retrieves the errno value of the error object

Parameters

None

Results

None

Example

load! $buf "some-non-existing-file" on buf.is_an_error: dump! `errno_of(buf)

Output

errno_of(buf): object <0>

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_message_text_of retrieves the error message text of the error object
std::error_details_of retrieves the error details of the error object
std::failed_attribute_of retrieves the *attribute* associated with the error object