HMError
@hashml/hashml › Globals › "schema/errors" › HMError
Hierarchy
Error
↳ HMError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new HMError(code
: ErrorCode, message
: string): HMError
Defined in schema/errors.ts:8
Parameters:
Name | Type |
---|---|
code | ErrorCode |
message | string |
Returns: HMError
Properties
code
• code: ErrorCode
Defined in schema/errors.ts:9
message
• message: string
Inherited from void
Defined in /home/maxime/code/hashml/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string
Inherited from void
Defined in /home/maxime/code/hashml/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973
Optional
stack
• stack? : undefined | string
Inherited from void
Overrides void
Defined in /home/maxime/code/hashml/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975
Static
Error
▪ Error: ErrorConstructor
Defined in /home/maxime/code/hashml/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984
Methods
toString
▸ toString(): string
Defined in schema/errors.ts:13
Returns: string