Public Member Functions | Private Attributes | List of all members
sol::error Class Reference

#include <sol.hpp>

Inheritance diagram for sol::error:
Inheritance graph
[legend]

Public Member Functions

 error (const error &e)=default
 
 error (const std::string &str)
 
 error (detail::direct_error_tag, const std::string &str)
 
 error (detail::direct_error_tag, std::string &&str)
 
 error (error &&e)=default
 
 error (std::string &&str)
 
erroroperator= (const error &e)=default
 
erroroperator= (error &&e)=default
 
virtual const char * what () const noexcept override
 

Private Attributes

std::string what_reason
 

Detailed Description

Definition at line 4573 of file sol.hpp.

Constructor & Destructor Documentation

◆ error() [1/6]

sol::error::error ( const std::string &  str)
inline

Definition at line 4579 of file sol.hpp.

◆ error() [2/6]

sol::error::error ( std::string &&  str)
inline

Definition at line 4581 of file sol.hpp.

◆ error() [3/6]

sol::error::error ( detail::direct_error_tag  ,
const std::string &  str 
)
inline

Definition at line 4583 of file sol.hpp.

◆ error() [4/6]

sol::error::error ( detail::direct_error_tag  ,
std::string &&  str 
)
inline

Definition at line 4585 of file sol.hpp.

◆ error() [5/6]

sol::error::error ( const error e)
default

◆ error() [6/6]

sol::error::error ( error &&  e)
default

Member Function Documentation

◆ operator=() [1/2]

error& sol::error::operator= ( const error e)
default

◆ operator=() [2/2]

error& sol::error::operator= ( error &&  e)
default

◆ what()

virtual const char* sol::error::what ( ) const
inlineoverridevirtualnoexcept

Definition at line 4593 of file sol.hpp.

Member Data Documentation

◆ what_reason

std::string sol::error::what_reason
private

Definition at line 4576 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53