Class: InvalidDirectiveError
Extends
Constructors
new InvalidDirectiveError()
new InvalidDirectiveError(
message,filePath,directive):InvalidDirectiveError
Parameters
message
string
filePath
string
directive
string
Returns
Overrides
Properties
directive
readonlydirective:string
filePath
readonlyfilePath:string
message
message:
string
Inherited from
name
name:
string
Inherited from
stack?
optionalstack:string
Inherited from
prepareStackTrace()?
staticoptionalprepareStackTrace: (err,stackTraces) =>any
Optional override for formatting stack traces
Parameters
err
Error
stackTraces
CallSite[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
ValidationError.prepareStackTrace
stackTraceLimit
staticstackTraceLimit:number
Inherited from
ValidationError.stackTraceLimit
Methods
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Function
Returns
void