Skip to content

Class: LlamaJsonSchemaValidationError

Extends

Constructors

new LlamaJsonSchemaValidationError()

ts
new LlamaJsonSchemaValidationError(
   message: string, 
   object: any, 
   schema: GbnfJsonSchema): LlamaJsonSchemaValidationError

Parameters

ParameterType
messagestring
objectany
schemaGbnfJsonSchema

Returns

LlamaJsonSchemaValidationError

Overrides

Error.constructor

Defined in

utils/gbnfJson/utils/validateObjectAgainstGbnfSchema.ts:25

Properties

object

ts
readonly object: any;

Defined in

utils/gbnfJson/utils/validateObjectAgainstGbnfSchema.ts:22


schema

ts
readonly schema: GbnfJsonSchema;

Defined in

utils/gbnfJson/utils/validateObjectAgainstGbnfSchema.ts:23