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,
99 int64 mem = inclusive ?
sizeof(*this) : 0;
100 mem += myErrorType.getMemoryUsage(
false);
101 mem += myErrorString.getMemoryUsage(
false);
102 mem += myLocation.getMemoryUsage(
false);
113 virtual void getErrorMessage(
UT_String &error_str,
115 bool useheaders =
true)
const;
116 virtual void getErrorFormattedString(
126 void setErrorType(
const char *
type);
128 void setErrorString(
const char *
string);
129 void setErrorCode(
int code);
156 const char *error_file,
158 static bool getFileString(
UT_String &error_str,
159 const char *error_file,
const UT_SourceLocation & getLocation() const
virtual int64 getMemoryUsage(bool inclusive) const
UT_ErrorSeverity getSeverity() const
GLint GLint GLsizei GLint GLenum format
const UT_String & getErrorType() const
const UT_String & getString() const
LeafData & operator=(const LeafData &)=delete