Error thrown when the getAnnList or getAnnContent request fails

Hierarchy

  • Error
    • AnnError

Constructors

  • Create a AnnError

    Parameters

    • res: Response

      Response of getAnnList or getAnnContent request

    Returns AnnError

Properties

message: string
name: string
stack?: string
statusCode: number
statusMessage: string
url: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void