MCPHTTPError | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Class MCPHTTPError

    Thrown when the server responds with an unexpected HTTP status, eg 401 if the bearer token is missing or invalid

    Hierarchy

    • Error
      • MCPHTTPError
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • method: string
      • status: number
      • headers: Headers
      • body: string

      Returns MCPHTTPError

    Properties

    body: string
    headers: Headers
    method: string
    status: number