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

#include <C4AulDefFunc.h>

Inheritance diagram for NeedObjectContext:
Collaboration diagram for NeedObjectContext:

Public Member Functions

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

Protected Attributes

StdCopyStrBuf sMessage

Detailed Description

Definition at line 80 of file C4AulDefFunc.h.

Constructor & Destructor Documentation

NeedObjectContext::NeedObjectContext ( const char *  function)

Definition at line 83 of file C4AulDefFunc.h.

83 : C4AulExecError(FormatString("%s: must be called from object 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

Member Data Documentation

StdCopyStrBuf C4AulError::sMessage

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: