Simple Lua
A Simple C++ Lua Wrapper
Loading...
Searching...
No Matches
SL::Util::Error< T > Struct Template Reference

Simple wrapper class for passing errors along to user. More...

#include <Result.hpp>

Public Member Functions

 Error (const T &num, const std::string &msg="")
 
const T & code () const
 
const std::string & message () const
 

Detailed Description

template<typename T = int>
struct SL::Util::Error< T >

Simple wrapper class for passing errors along to user.

Template Parameters
TRaw error type

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