Class EnkaNetworkError

Error thrown when the EnkaNetwork request fails

Hierarchy

  • Error
    • EnkaNetworkError

Constructors

  • Create a EnkaNetworkError

    Parameters

    • res: Response

      Response of EnkaNetwork request

    Returns EnkaNetworkError

Properties

message: string
name: string
stack?: string
statusCode: number
statusMessage: 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