Hierarchy (view full)

Constructors

  • Parameters

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

        ErrorUpdateEvent409ResponseError

        • code: "StateNotReady"

          Description

          Error code: * StateNotReady - The event specified with request id is not ready for updates yet. Try again. This error happens in rare cases when update API is called immediately after receiving the request id on the client. In case you need to send information right away, we recommend using the JS agent API instead.

          Example

          StateNotReady
          @enum {string}
        • message: string

          Example

          resource is not mutable yet, try again
          
    • response: Response

    Returns UpdateEventError409

Properties

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

Type declaration

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

    ErrorUpdateEvent409ResponseError

    • code: "StateNotReady"

      Description

      Error code: * StateNotReady - The event specified with request id is not ready for updates yet. Try again. This error happens in rare cases when update API is called immediately after receiving the request id on the client. In case you need to send information right away, we recommend using the JS agent API instead.

      Example

      StateNotReady
      @enum {string}
    • message: string

      Example

      resource is not mutable yet, try again
      
stack?: string
statusCode: 409
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