PolymathError
Wraps an error to give more information about it's type
Hierarchy
Error
↳ PolymathError
Index
Constructors
Properties
Constructors
constructor
+ new PolymathError(__namedParameters
: object): PolymathError
Defined in src/PolymathError.ts:24
Parameters:
▪ __namedParameters: object
Name | Type |
| |
| undefined | string |
Returns: PolymathError
Properties
code
• code: ErrorCode
Defined in src/PolymathError.ts:24
message
• message: string
Inherited from void
Defined in node_modules/typescript/lib/lib.es5.d.ts:964
name
• name: string
Inherited from void
Defined in node_modules/typescript/lib/lib.es5.d.ts:963
Optional
stack
Optional
stack• stack? : undefined | string
Inherited from void
Overrides void
Defined in node_modules/typescript/lib/lib.es5.d.ts:965
Static
Error
Static
Error▪ Error: ErrorConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
Last updated