Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ErrorConverter<T>

Type parameters

  • T

Hierarchy

Index

Properties

Static type

type: Type = Types.Error

Methods

canConvertFrom

  • canConvertFrom(srcType: Type): boolean

canStringify

  • canStringify(): boolean

convertFrom

  • convertFrom(obj: any, srcType: Type): any

convertFromSuperType

  • convertFromSuperType(obj: any): any

deserialize

  • deserialize(obj: object): any

fromString

  • fromString(str: string): T | never

inferInstanceOf

  • inferInstanceOf(obj: any): number

isValid

  • isValid(obj: any): boolean

serialize

  • serialize(obj: Error): object

toString

  • toString(obj: T): string

tryFromString

  • tryFromString(str: string): T | null

Generated using TypeDoc