irccd  3.0.3
Public Types | Public Member Functions | List of all members
irccd::daemon::transport_error Class Reference

Transport error. More...

#include <transport_server.hpp>

Inheritance diagram for irccd::daemon::transport_error:

Public Types

enum  error {
  no_error = 0 , auth_required , invalid_auth , invalid_port ,
  invalid_address , invalid_hostname , invalid_path , invalid_family ,
  invalid_certificate , invalid_private_key , ssl_disabled , not_supported
}
 Transport related errors. More...
 

Public Member Functions

 transport_error (error code) noexcept
 

Detailed Description

Transport error.

Member Enumeration Documentation

◆ error

Transport related errors.

Enumerator
no_error 

No error.

Authentication is required.

auth_required 

Authentication was invalid.

invalid_auth 

Invalid TCP/IP port.

invalid_port 

Invalid TCP/IP address.

invalid_address 

The specified host was invalid.

invalid_hostname 

Invalid unix local path.

invalid_path 

Invalid IPv4/IPv6 family.

invalid_family 

Invalid certificate given.

invalid_certificate 

Invalid private key given.

invalid_private_key 

SSL was requested but is disabled.

ssl_disabled 

Kind of transport not supported on this platform.

not_supported 

Constructor & Destructor Documentation

◆ transport_error()

irccd::daemon::transport_error::transport_error ( error  code)
noexcept

Constructor.

Parameters
codethe error code

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