DisallowedInBlockError
@hashml/hashml › Globals › "schema/errors" › DisallowedInBlockError
Hierarchy
↳ DisallowedInBlockError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new DisallowedInBlockError(parentTag
: string, childTag
: string, pos
: InputPosition): DisallowedInBlockError
Overrides ValidationError.constructor
Defined in schema/errors.ts:138
Parameters:
Name | Type |
---|---|
parentTag | string |
childTag | string |
pos | InputPosition |
Returns: DisallowedInBlockError
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
positions
• positions: InputPosition[]
Inherited from ValidationError.positions
Defined in schema/errors.ts:119
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
Methods
toString
▸ toString(): string
Inherited from HMError.toString
Defined in schema/errors.ts:13
Returns: string