Creates an Exception. For internal use only! Please use the factory methods, to create an Exception!
The type name, the default is UNKNOWN
.
Optional
message: stringThe associated message.
Optional
cause: Error | ExceptionThe cause of this exception.
Wraps errors into Exceptions to get correct stacktraces.
the error
Optional
msg: stringthe error message
Wraps errors into Exceptions to get correct stacktraces.
the error message
Interface of the exception constructor.