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

#include <C4AulDefFunc.h>

Inheritance diagram for NeedNonGlobalContext:
[legend]
Collaboration diagram for NeedNonGlobalContext:
[legend]

Public Member Functions

 NeedNonGlobalContext (const char *function)
 
const char * what () const noexceptoverride
 

Protected Attributes

StdCopyStrBuf sMessage
 

Detailed Description

Definition at line 88 of file C4AulDefFunc.h.

Constructor & Destructor Documentation

NeedNonGlobalContext::NeedNonGlobalContext ( const char *  function)
inline

Definition at line 91 of file C4AulDefFunc.h.

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

Member Function Documentation

const char* C4AulError::what ( ) const
overridenoexceptinherited

Member Data Documentation

StdCopyStrBuf C4AulError::sMessage
protectedinherited

Definition at line 44 of file C4Aul.h.

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


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