Class GenericError - Class GenericError - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 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