1 #ifndef __SQUIRREL_ERROR_HPP__
2 #define __SQUIRREL_ERROR_HPP__
10 /** Exception class for squirrel errors, it takes a squirrelvm and uses
11 * sq_geterror() to retrieve additional information about the last error that
12 * occured and creates a readable message from that.
14 class SquirrelError : public std::exception
17 SquirrelError(HSQUIRRELVM v, const std::string& message) throw();
18 virtual ~SquirrelError() throw();
20 const char* what() const throw();