sqrat  0.9
sqrat
 All Classes Functions Variables Enumerations Enumerator Pages
Static Public Member Functions | List of all members
Sqrat::ErrorHandling Class Reference

#include <sqratUtil.h>

Static Public Member Functions

static bool IsEnabled ()
 
static void Enable (bool enable)
 

Detailed Description

Tells Sqrat whether Squirrel error handling should be used

Remarks
If true, if a runtime error occurs during the execution of a call, the VM will invoke its error handler.

Member Function Documentation

static void Sqrat::ErrorHandling::Enable ( bool  enable)
inlinestatic

Enables or disables Squirrel error handling

Parameters
enableTrue to enable, false to disable
static bool Sqrat::ErrorHandling::IsEnabled ( )
inlinestatic

Returns whether Squirrel error handling is enabled

Returns
True if error handling is enabled, otherwise false

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