Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SchemaViolationError

Indicates a problem that has occurred when building a schema.

Hierarchy

  • Error
    • SchemaViolationError

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • The constructor creates SchemaViolationError objects.

    Parameters

    • message: string

      The error message

    Returns SchemaViolationError

Properties

message

message: string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Static type

type: "schema_violation_error" = "schema_violation_error"

The schema_violation_error error type

Methods

getType

  • getType(): string
  • Get the error type

    Returns string