Skip to content
Interfacecorev0.14.0

ResponseFailed

A write that threw. A non-Error throw arrives wrapped, carrying the thrown value as its cause.

interface ResponseFailed<
    Method extends WriteMethod = WriteMethod
> extends AttemptedWrite<Method>

body

What the write tried to send. Null if a builder threw before the write started.

readonly body: WriteBody<Method> | null

dispatchId

The dispatch that this write belongs to, for joining against every other key it published.

readonly dispatchId: string

Inherited from:AttemptedWrite

error

readonly error: Error

interactionId

The interaction that this write belongs to, for joining against interactionDispatched.

readonly interactionId: string

Inherited from:AttemptedWrite

messageId

readonly messageId: null

method

The verb that ran. A send reports the verb it routed to.

readonly method: Method

Inherited from:AttemptedWrite

outcome

readonly outcome: 'failed'