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