> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# ConversationEnded

> Class exported by @botmesh/core.

Defined in: [conversations/errors.ts:30](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/errors.ts#L30)

`c.end(farewell?)` — or a failed `.guard()` (`guarded: true`, reported with outcome `'guarded'`).

## Extends

* [`ConversationError`](https://botmesh.afaya.com.co/api/core/classes/ConversationError)

## Constructors

### Constructor

```ts theme={null}
new ConversationEnded(farewell?, guarded?): ConversationEnded;
```

Defined in: [conversations/errors.ts:31](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/errors.ts#L31)

#### Parameters

| Parameter | Type | Default value |
| - | - | - |
| `farewell?` | `string` | `undefined` |
| `guarded?` | `boolean` | `false` |

#### Returns

`ConversationEnded`

#### Overrides

[`ConversationError`](https://botmesh.afaya.com.co/api/core/classes/ConversationError).[`constructor`](https://botmesh.afaya.com.co/api/core/classes/ConversationError#constructor)

## Properties

### farewell?

```ts theme={null}
farewell?: string;
```

Defined in: [conversations/errors.ts:31](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/errors.ts#L31)

***

### guarded

```ts theme={null}
guarded: boolean = false;
```

Defined in: [conversations/errors.ts:31](https://github.com/andresayac/botmesh/blob/main/packages/core/src/conversations/errors.ts#L31)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.