Open 3D Engine (O3DE), the successor to Lumberyard, is now available in Developer Preview. Download O3DE or visit the AWS Game Tech blog to learn more. |
Reports errors and warnings as Lumberyard serializes data. More...
Public Member Functions |
|
ErrorHandler () | |
A constructor.
More...
|
|
void | ReportError (const char *message) |
Reports an error.
More...
|
|
void | ReportWarning (const char *message) |
Reports a nonfatal warning.
More...
|
|
void | Push (const DbgStackEntry &de) |
Pushes an entry onto the debug stack.
More...
|
|
void | Pop () |
Pops the last entry from the debug stack.
More...
|
|
unsigned int | GetErrorCount () const |
Gets the current number of errors.
More...
|
|
unsigned int | GetWarningCount () const |
Gets the current number of warnings.
More...
|
|
void | Reset () |
Sets the error count to zero.
More...
|
|
Detailed Description
Reports errors and warnings as Lumberyard serializes data.
Constructor & Destructor Documentation
◆ ErrorHandler()
|
inline |
A constructor.
Member Function Documentation
◆ GetErrorCount()
|
inline |
Gets the current number of errors.
To reset the error count, use Reset() .
- Returns
- The current number of errors.
◆ GetWarningCount()
|
inline |
Gets the current number of warnings.
- Returns
- The current number of warnings.
◆ Pop()
void AZ::SerializeContext::ErrorHandler::Pop | ( | ) |
Pops the last entry from the debug stack.
◆ Push()
void AZ::SerializeContext::ErrorHandler::Push | ( | const DbgStackEntry & | de | ) |
Pushes an entry onto the debug stack.
- Parameters
-
de A DbgStackEntry object that contains information about serialized data.
◆ ReportError()
void AZ::SerializeContext::ErrorHandler::ReportError | ( | const char * | message | ) |
Reports an error.
- Parameters
-
message A pointer to the error message.
◆ ReportWarning()
void AZ::SerializeContext::ErrorHandler::ReportWarning | ( | const char * | message | ) |
Reports a nonfatal warning.
- Parameters
-
message A pointer to the warning message.
◆ Reset()
void AZ::SerializeContext::ErrorHandler::Reset | ( | ) |
Sets the error count to zero.
The documentation for this class was generated from the following file:
- C:/lumberyard-root/dev/Code/Framework/AZCore/AZCore/Serialization/ SerializeContext.h