Create a classified error class that extends the oldError to add fancy classification prepended text and adds the reasonChain and isFatal properties.
The error reason
If the error is fatal. Defaults to true.
The old error class to extend. Defaults to Error.
The new error class that extends the oldError with the reasonChain and isFatal properties.
Create a classified error class that extends the oldError to add fancy classification prepended text and adds the reasonChain and isFatal properties.