Home Manual Reference Source

Typedef

Static Public Summary
public

Contains schema errors.

Static Public

public SchemaError: Object source

Contains schema errors. Normally thrown when a job object is invalid.

Properties:

NameTypeAttributeDescription
property string

json property

pointer string

json pointer

message string

error message

context number
constraint Object
constraint.params Object<string, string>
constraint.name string

Example:

{
  property: "data.meta",
  pointer: "/data/meta",
  message: "The property meta is required",
  constraint: {
    name: "required",
    params: {
      property: "meta"
    }
  },
  context: 1
}

See: