Sinch Node.js SDK - v0.0.5
    Preparing search index...

    Class RequestFailedError<T>

    Request failed error class

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    data?: string

    Data decoded from the response body

    message: string
    name: string
    stack?: string
    statusCode: number

    Request status code

    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