All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
NeedNonGlobalContext Class Reference

#include <C4AulDefFunc.h>

Inheritance diagram for NeedNonGlobalContext:
Collaboration diagram for NeedNonGlobalContext:

Public Member Functions

 NeedNonGlobalContext (const char *function)
virtual const char * what () const noexcept

Protected Attributes

StdCopyStrBuf sMessage

Detailed Description

Definition at line 89 of file C4AulDefFunc.h.

Constructor & Destructor Documentation

NeedNonGlobalContext::NeedNonGlobalContext ( const char *  function)

Definition at line 92 of file C4AulDefFunc.h.

92 : C4AulExecError(FormatString("%s: call must not be from global context", function).getData()) {}
C4AulExecError(const char *szError)
Definition: C4AulExec.cpp:35
StdStrBuf FormatString(const char *szFmt,...)
Definition: StdBuf.cpp:277

Member Function Documentation

virtual const char* C4AulError::what ( ) const

Member Data Documentation

StdCopyStrBuf C4AulError::sMessage

Definition at line 46 of file C4Aul.h.

Referenced by C4AulExecError::C4AulExecError(), and C4AulParseError::C4AulParseError().

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