Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "errors/invalid-type"

Index

Interfaces

Type aliases

Variables

Functions

Type aliases

Cause

Cause: undefined

InvalidTypeError

InvalidTypeError: Incident<Data, Name, Cause>

Name

Name: "InvalidType"

Variables

Const name

name: Name = "InvalidType"

Functions

createInvalidTypeError

  • createInvalidTypeError(typeName: string, value: any, variableName?: undefined | string): InvalidTypeError

format

  • format(__namedParameters: object): string
  • Parameters

    • __namedParameters: object
      • typeName: string
      • value: any
      • variableName: undefined | string

    Returns string

Generated using TypeDoc