Exceptions of this type are used when the error type is unknown. Harfang looks for an "Exception" instance or a String instance when catching errors. However, an error with a type not covered in the previous cases may be thrown. When the type is unknown, the framework wraps the error in a WrappedException.

Do not directly use this class. Use standard Exceptions instead. This is only used by the framework to wrap any unknown error types into an Exception.

Constructor

new (error:Dynamic)

Parameters:

The

error to wrap

Methods

getError ():Dynamic

Returns:

The underlying error that is wrapped in this exception

Inherited Variables

Inherited Methods

Defined by Exception

getMessage ():String

Returns:

The error message