Skip to content

Class: LlamaJsonSchemaValidationError

Defined in: utils/gbnfJson/utils/validateObjectAgainstGbnfSchema.ts:22

Extends

Constructors

new LlamaJsonSchemaValidationError()

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

Defined in: utils/gbnfJson/utils/validateObjectAgainstGbnfSchema.ts:26

Parameters

ParameterType
messagestring
objectany
schemaGbnfJsonSchema

Returns

LlamaJsonSchemaValidationError

Overrides

ts
Error.constructor

Properties

object

ts
readonly object: any;

Defined in: utils/gbnfJson/utils/validateObjectAgainstGbnfSchema.ts:23


schema

ts
readonly schema: GbnfJsonSchema;

Defined in: utils/gbnfJson/utils/validateObjectAgainstGbnfSchema.ts:24