join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
error.hpp File Reference
#include <system_error>
Include dependency graph for error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  join::ErrorCategory
 Error category. More...
 
struct  std::is_error_condition_enum< join::Errc >
 

Namespaces

namespace  join
 
namespace  std
 

Enumerations

enum class  join::Errc {
  join::InUse = 1 , join::InvalidParam , join::ConnectionRefused , join::ConnectionClosed ,
  join::TimedOut , join::PermissionDenied , join::OutOfMemory , join::OperationFailed ,
  join::NotFound , join::MessageUnknown , join::MessageTooLong , join::TemporaryError ,
  join::UnknownError
}
 Generic error codes. More...
 

Functions

const std::error_category & join::getErrorCategory ()
 Get error category.
 
std::error_code join::make_error_code (join::Errc code)
 Create an std::error_code object.
 
std::error_condition join::make_error_condition (join::Errc code)
 Create an std::error_condition object.
 

Variables

thread_local std::error_code join::lastError
 last error.