Hierarchy (view full)

Constructors

  • Parameters

    • body: {
          error?: {
              code: "RequestNotFound";
              message: string;
          };
      }
      • Optional error?: {
            code: "RequestNotFound";
            message: string;
        }

        ErrorEvent404ResponseError

        • code: "RequestNotFound"

          Description

          Error code:

          • RequestNotFound - The specified request ID was not found. It never existed, expired, or it has been deleted.

          Example

          RequestNotFound
          @enum {string}
        • message: string

          Example

          request id is not found
          
    • response: Response

    Returns UpdateEventError404

Properties

cause?: unknown
errorCode: string
message: string
name: string
response: Response
responseBody: {
    error?: {
        code: "RequestNotFound";
        message: string;
    };
}

Type declaration

  • Optional error?: {
        code: "RequestNotFound";
        message: string;
    }

    ErrorEvent404ResponseError

    • code: "RequestNotFound"

      Description

      Error code:

      • RequestNotFound - The specified request ID was not found. It never existed, expired, or it has been deleted.

      Example

      RequestNotFound
      @enum {string}
    • message: string

      Example

      request id is not found
      
stack?: string
statusCode: 404
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void