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

Exception group that can be used to catch exceptions thrown for errors returned from POSIX fuctions (e.g., socket functions). More...

#include <rex>

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

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 group that can be used to catch exceptions thrown for errors returned from POSIX fuctions (e.g., socket functions).

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: