randolf.ca  1.00
Randolf Richardson's C++ classes
Loading...
Searching...
No Matches
randolf::rex::xUNKNOWN Class Reference

Exception for all other errors that are not known. More...

#include <rex>

+ Inheritance diagram for randolf::rex::xUNKNOWN:
+ Collaboration diagram for randolf::rex::xUNKNOWN:

Public Member Functions

const long err_no () const noexcept
 Find out what the errno (or OpenSSL's ERR_get_error() number) was that caused this exception to be thrown.
 
const char * what () const noexcept
 Find out what the reason (usually the error code, e.g., EAGAIN) was for this exception to be thrown.
 

Detailed Description

Exception for all other errors that are not known.

Member Function Documentation

◆ err_no()

const long randolf::rex::rex::err_no ( ) const
inlinenoexceptinherited

Find out what the errno (or OpenSSL's ERR_get_error() number) was that caused this exception to be thrown.

Returns
Original errno() value

◆ what()

const char * randolf::rex::rex::what ( ) const
inlinenoexceptinherited

Find out what the reason (usually the error code, e.g., EAGAIN) was for this exception to be thrown.

Returns
Error code text as a pointer to an ASCIIZ string

The documentation for this class was generated from the following file: