Create a new instance of DDNetError
Optional
reason: stringThe reason for this error.
Optional
context: unknownContext for this error, usually an Error object, array or a string, ultimately unknown type.
Optional
causeOptional
contextContext for this error, usually an Error object, array or a string, ultimately unknown type.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
Wrapper class for the Error built-in class, used as a catch all option and to also provide error context.