-
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