DuplicatePropNameError
@hashml/hashml › Globals › "schema/errors" › DuplicatePropNameError
Hierarchy
↳ DuplicatePropNameError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new DuplicatePropNameError(tag
: string, propName
: string, repetitions
: number): DuplicatePropNameError
Overrides SchemaDefinitionError.constructor
Defined in schema/errors.ts:50
Parameters:
Name | Type |
---|---|
tag | string |
propName | string |
repetitions | number |
Returns: DuplicatePropNameError
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
propName
• propName: string
Defined in schema/errors.ts:51
repetitions
• repetitions: number
Defined in schema/errors.ts:51
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
tag
• tag: string
Defined in schema/errors.ts:51
Methods
toString
▸ toString(): string
Inherited from HMError.toString
Defined in schema/errors.ts:13
Returns: string