ErrorClass <Name>
Hierarchy
- Pretty<typeof CustomError>
- ErrorClass
Index
Constructors
constructor
constructor
Properties
readonlyerrorName
Error name
readonlyinheritedprototype
Methods
inheritedasString
Static method to convert an error to a string
CustomError.asString(new Error('my message'));
inheritedhasInstance
Return true if anyValue is an instance of current class
Error constructor