Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MaintenanceError

Error thrown when the sfdc_maintenance header is detected in a response and throwOnMaintenanceHeader is enabled in client configuration.

Hierarchy

Index

Constructors

constructor

  • new MaintenanceError(response: Response | Response, maintenanceType: "system" | "site"): MaintenanceError
  • Parameters

    • response: Response | Response
    • maintenanceType: "system" | "site"

    Returns MaintenanceError

Properties

Readonly maintenanceType

maintenanceType: "system" | "site"

message

message: string

name

name: string

Readonly response

response: Response | Response

Optional stack

stack: undefined | string

Readonly status

status: 503 = 503

Static Error

Error: ErrorConstructor

Generated using TypeDoc