DuplicatePropAssignmentError
@hashml/hashml › Globals › "schema/errors" › DuplicatePropAssignmentError
Hierarchy
↳ DuplicatePropAssignmentError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new DuplicatePropAssignmentError(tag: string, propNames: string[], contentTag: string): DuplicatePropAssignmentError
Overrides SchemaDefinitionError.constructor
Defined in schema/errors.ts:60
Parameters:
| Name | Type |
|---|---|
tag | string |
propNames | string[] |
contentTag | string |
Returns: DuplicatePropAssignmentError
Properties
code
• code: ErrorCode
Defined in schema/errors.ts:9
contentTag
• contentTag: string
Defined in schema/errors.ts:61
message
• message: string
Inherited from void
Defined in /home/travis/build/hashml/hashml/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string
Inherited from void
Defined in /home/travis/build/hashml/hashml/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973
propNames
• propNames: string[]
Defined in schema/errors.ts:61
Optional stack
• stack? : undefined | string
Inherited from void
Overrides void
Defined in /home/travis/build/hashml/hashml/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975
tag
• tag: string
Defined in schema/errors.ts:61
Methods
toString
▸ toString(): string
Inherited from HMError.toString
Defined in schema/errors.ts:13
Returns: string