Tacopie  3.0.0
Tacopie is a TCP Client & Server C++11 library.
Public Member Functions | Private Attributes | List of all members
tacopie::tacopie_error Class Reference

#include <error.hpp>

Inheritance diagram for tacopie::tacopie_error:

Public Member Functions

 tacopie_error (const std::string &what, const std::string &file, std::size_t line)
 ctor More...
 
 ~tacopie_error (void)=default
 assignment operator More...
 
 tacopie_error (const tacopie_error &)=default
 copy ctor More...
 
tacopie_erroroperator= (const tacopie_error &)=default
 assignment operator More...
 
const std::string & get_file (void) const
 
std::size_t get_line (void) const
 

Private Attributes

std::string m_file
 
std::size_t m_line
 

Detailed Description

specialized runtime_error used for tacopie error

Constructor & Destructor Documentation

◆ tacopie_error() [1/2]

tacopie::tacopie_error::tacopie_error ( const std::string &  what,
const std::string &  file,
std::size_t  line 
)

ctor

◆ ~tacopie_error()

tacopie::tacopie_error::~tacopie_error ( void  )
default

assignment operator

◆ tacopie_error() [2/2]

tacopie::tacopie_error::tacopie_error ( const tacopie_error )
default

copy ctor

Member Function Documentation

◆ get_file()

const std::string& tacopie::tacopie_error::get_file ( void  ) const
Returns
file in which error occured

◆ get_line()

std::size_t tacopie::tacopie_error::get_line ( void  ) const
Returns
line at which the error occured

◆ operator=()

tacopie_error& tacopie::tacopie_error::operator= ( const tacopie_error )
default

assignment operator

Member Data Documentation

◆ m_file

std::string tacopie::tacopie_error::m_file
private

file location of the error

◆ m_line

std::size_t tacopie::tacopie_error::m_line
private

line location of the error


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