PolymathError
Wraps an error to give more information about it's type
Hierarchy
Error
↳ PolymathError
Index
Constructors
constructor
Properties
code
message
name
stack
Error
Constructors
constructor
+ new PolymathError(__namedParameters
: object): PolymathError
Parameters:
▪ __namedParameters: object
Name
Type
code
message
undefined | string
Returns: PolymathError
Properties
code
• code: ErrorCode
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
Was this helpful?