Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InvalidTypeErr

InvalidTypeErr indicates the value used with the filter is the incorrect type.

Hierarchy

Implements

  • Err

Index

Constructors

Properties

Methods

Constructors

constructor

  • new InvalidTypeErr(field: string, operator: string, value: Value, type: string | string[]): InvalidTypeErr

Properties

field

field: string

message

message: string = `Invalid type '${typeof this.value}' for field '${this.field}',` +` expected type of '${this.type}'!`

operator

operator: string

type

type: string | string[]

value

value: Value

Methods

toString

  • toString(): string

Generated using TypeDoc