71 #define UT_CE_EARLY_INPUT_END UT_ERROR_EOF
72 #define UT_CE_PARSE_ERROR UT_ERROR_PARSING
73 #define UT_CE_FILE_ERROR UT_ERROR_FILE_FORMAT
85 const char *error_string =
nullptr,
98 int64 mem = inclusive ?
sizeof(*this) : 0;
99 mem += myErrorType.getMemoryUsage(
false);
100 mem += myErrorString.getMemoryUsage(
false);
101 mem += myLocation.getMemoryUsage(
false);
112 virtual void getErrorMessage(
UT_String &error_str,
114 bool useheaders =
true)
const;
115 virtual void getErrorFormattedString(
125 void setErrorType(
const char *
type);
127 void setErrorString(
const char *
string);
128 void setErrorCode(
int code);
155 const char *error_file,
157 static bool getFileString(
UT_String &error_str,
158 const char *error_file,
const UT_SourceLocation & getLocation() const
GLint GLint GLsizei GLint GLenum GLenum type
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