@bugbug-io/sdk
    Preparing search index...

    Class MissingProjectIdError

    Thrown when an organization/user token hits a project-scoped endpoint without a project. The backend answers HTTP 400 and the client maps that specific failure here so callers can prompt for / supply a project id instead of surfacing a generic ValidationError.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    statusCode: number
    response?: Response
    request?: RequestOrigin
    cause?: Error

    Methods

    • Returns {
          name: string;
          code: SdkErrorCode;
          message: string;
          statusCode: number;
          request: RequestOrigin | undefined;
          stack: string | undefined;
      }