OpenMiner  0.0.1a
Voxel game engine
Public Member Functions | Private Attributes | List of all members
sol::error Class Reference

#include <sol.hpp>

Inheritance diagram for sol::error:

Public Member Functions

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

Private Attributes

std::string w
 

Constructor & Destructor Documentation

§ error() [1/6]

sol::error::error ( const std::string str)
inline
421  : error(detail::direct_error, "lua: error: " + str) {
422  }
const auto direct_error
Definition: sol.hpp:411
error(const std::string &str)
Definition: sol.hpp:420

§ error() [2/6]

sol::error::error ( std::string &&  str)
inline
424  : error(detail::direct_error, "lua: error: " + std::move(str)) {
425  }
const auto direct_error
Definition: sol.hpp:411
error(const std::string &str)
Definition: sol.hpp:420

§ error() [3/6]

sol::error::error ( detail::direct_error_tag  ,
const std::string str 
)
inline
427  : std::runtime_error(""), w(str) {
428  }
std::string w
Definition: sol.hpp:417

§ error() [4/6]

sol::error::error ( detail::direct_error_tag  ,
std::string &&  str 
)
inline
430  : std::runtime_error(""), w(std::move(str)) {
431  }
std::string w
Definition: sol.hpp:417

§ 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
438  {
439  return w.c_str();
440  }
std::string w
Definition: sol.hpp:417

Member Data Documentation

§ w

std::string sol::error::w
private

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