sgs_PushErrorInfo [function]
void sgs_PushErrorInfo( sgs_Context* C, int flags, int type, const char* msg )
Pushes a string generated from error info.
type
andmsg
should be passed from the messaging callback - they are the same type number / error message.flags
should be one of SGS_ERRORINFO_STACK, SGS_ERRORINFO_ERROR, SGS_ERRORINFO_FULL:- SGS_ERRORINFO_STACK only writes the stack frame;
- SGS_ERRORINFO_ERROR only writes the error message;
- SGS_ERRORINFO_FULL writes both.