72 #define UT_CE_EARLY_INPUT_END UT_ERROR_EOF
73 #define UT_CE_PARSE_ERROR UT_ERROR_PARSING
74 #define UT_CE_FILE_ERROR UT_ERROR_FILE_FORMAT
86 const char *error_string =
nullptr,
93 int64 mem = inclusive ?
sizeof(*this) : 0;
94 mem += myErrorType.getMemoryUsage(
false);
95 mem += myErrorString.getMemoryUsage(
false);
96 mem += myLocation.getMemoryUsage(
false);
107 virtual void getErrorMessage(
UT_String &error_str,
109 bool useheaders =
true)
const;
110 virtual void getErrorFormattedString(
119 void setErrorType(
const char *
type);
121 void setErrorString(
const char *
string);
122 void setErrorCode(
int code);
149 const char *error_file,
151 static bool getFileString(
UT_String &error_str,
152 const char *error_file,
const UT_SourceLocation & getLocation() const
virtual int64 getMemoryUsage(bool inclusive) const
UT_ErrorSeverity getSeverity() const
const UT_String & getErrorType() const
const UT_String & getString() const
GLint GLint GLsizei GLint GLenum format