Class GenericError - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
GenericError()#

Default constructor that initializes with no error (OK state)

explicit GenericError(ErrorCodeGeneric ecode)#

Constructs GenericError with a specific error code.

Parameters:

ecode – The error code to initialize with

~GenericError() = default#
virtual String message() const override#

Get the human-readable error message.

See also

GenericError.cc for the actual message strings

Returns:

String containing the error message

virtual bool isError() const override#

Check if this represents an error condition.

Returns:

true if this represents an error, false if OK