Member Junction
    Preparing search index...

    Error thrown when the sidecar responds with a non-2xx status. Carries the HTTP status code and the raw response body so callers can inspect or surface the sidecar's error detail.

    Hierarchy

    • Error
      • SidecarError
    Index

    Constructors

    Properties

    Body: string

    Raw response body text (may be JSON or plain text).

    cause?: unknown
    message: string
    name: string
    stack?: string
    Status: number

    HTTP status code returned by the sidecar.

    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