This is used to indicate the error handling behaviour.
ThrowNothing
Warnings and errors that are returned by the algorithmic engine will not throw any exception. Error handling must be done via the ErrorHandler class.
It should be noted that setting this value does not guarantee that no exceptions will be thrown it just suppresses those that would have been thrown via ErrorHandler.
ThrowErrors
Errors that are returned by the algorithmic engine will cause an exception to be thrown. Warnings will not. The checking of warnings must be done via the ErrorHandler class.
ThrowAll
Both warnings and errors that are returned by the algorithmic engine will be thrown as exceptions.
In the case of a warning all output arguments will have been set prior to the exception being raised. For a non-void function the return value can be accessed via WarningException::return_value.
In the case of an error, all output arguments are undefined.
– boolScalar
Set to true if an error was returned by the algorithmic engine.
A numeric error code associated with an error or warning. This is the same value as would have been returned in errorid if errors / warnings were being raised as exceptions.
– std::stringScalar
Name of the NAG CPP Interface function that returned the warning or error.
This enumerator indicates the type of error / warning raised.
MemoryError
The raised error indicates some issue during memory allocation.
LicenceError
The raised error indicates an issue with the licence of the NAG Library.
UnexpectedError
The raised error was not expected. Please contact NAG via the NAG Technical Support Service with details of the error message and what you were doing when it occurred.
CallbackError
The error was raised in a callback.
GeneralError
The error was raised by the algorithmic engine, and no more descriptive type was appropriate.
GeneralWarning
The warning was raised by the algorithmic engine, and no more descriptive type was appropriate.
GenericError
As per ErrorType::GeneralError, but the error was raised by the wrapper as opposed to the algorithmic engine.
NoError
No error or warning was raised.
– boolScalar
Set to true if a warning was returned by the algorithmic engine.