# ResponseFailed

`interface` in `core` · v0.14.0

<https://seedcord.org/docs/packages/core/0.14.0/interfaces/response-failed>

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

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

## Properties

### body

```ts
readonly body: WriteBody<Method> | null
```

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

### dispatchId

```ts
readonly dispatchId: string
```

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

### durationMs

```ts
readonly durationMs: number
```

### error

```ts
readonly error: Error
```

### interactionId

```ts
readonly interactionId: string
```

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

### messageId

```ts
readonly messageId: null
```

### method

```ts
readonly method: Method
```

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

### outcome

```ts
readonly outcome: 'failed'
```

### routeId

```ts
readonly routeId: string
```
