Skip to main content

SchemaError

Thrown when a value cannot be read as a schema - its schema cannot be determined, or a property is missing.

@group

Errors/Schema

@throws

When a value's schema cannot be determined.

@throws

When a property of a schema cannot be resolved.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • SchemaError(message: string, schemaClassName: string): SchemaError
  • Parameters

    • message: string

      The error message.

    • schemaClassName: string

      The schema the value was being read as.

    Returns SchemaError

Properties

readonlyschemaClassName

schemaClassName: string

The name of the schema class, or of the class whose schema was looked for.

Page Options