Exception cause. Indicates the specific original cause of the error. It is used when catching and re-throwing an error with a more-specific or useful error message in order to still have access to the original error.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackConfigures error chaining support
Static
captureCreate .stack property on a target object
Optional
constructorOpt: FunctionStatic
createStatic
extractUtility method used to extract the error description and httpExceptionOptions from the given argument. This is used by inheriting classes to correctly parse both options.
the error description and the httpExceptionOptions as an object.
Static
getStatic
get
Represents an exception that is thrown when access to a resource is denied.
Example