Class AdaptyError

Hierarchy

  • Error
    • AdaptyError

Constructors

Properties

adaptyCode: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 1000 | 1002 | 1003 | 1004 | 1005 | 1006 | 1010 | 1011 | 2002 | 2003 | 2004 | 2005 | 2006 | 2009 | 3000 | 3001 | 3005 | 3006 | 3100 | 9000
detail: undefined | string
localizedDescription: string
message: string
name: string
stack?: string
middleware?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      Returns void

prefix: string = ''
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc