TooFewArgsError
@hashml/hashml › Globals › "schema/errors" › TooFewArgsError
Hierarchy
↳ TooFewArgsError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new TooFewArgsError(tag
: string, argCount
: number, expectedLength
: number, pos
: InputPosition): TooFewArgsError
Overrides ValidationError.constructor
Defined in schema/errors.ts:213
Parameters:
Name | Type |
---|---|
tag | string |
argCount | number |
expectedLength | number |
pos | InputPosition |
Returns: TooFewArgsError
Properties
argCount
• argCount: number
Defined in schema/errors.ts:216
code
• code: ErrorCode
Defined in schema/errors.ts:9
expectedLength
• expectedLength: number
Defined in schema/errors.ts:217
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
pos
• pos: InputPosition
Defined in schema/errors.ts:218
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
tag
• tag: string
Defined in schema/errors.ts:215
Methods
toString
▸ toString(): string
Inherited from HMError.toString
Defined in schema/errors.ts:13
Returns: string