A custom error class that inherits from the Error object.
Returns a new CustomError with the specified message.
Optional
Generated using TypeDoc
A custom error class that inherits from the Error object.