S2Error

S2Error is a simple class consisting of an error code and a human-readable error message.

This class is intended to be copied by value as desired. It uses the default copy constructor and assignment operator.

Members

Enums

Code
enum Code
Undocumented in source.

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
code
Code code()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize(Code code, string fmt, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
ok
bool ok()
Undocumented in source. Be warned that the author may not have intended to support it.
text
string text()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta