> ## 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.

# ConversationGoto

> Class exported by @botmesh/core.

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

`c.goto(target)` — or a failed `.guard()` with `redirect` (`guarded: true`).

## Extends

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

## Constructors

### Constructor

```ts theme={null}
new ConversationGoto(target, args?): ConversationGoto;
```

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

#### Parameters

| Parameter | Type |
| - | - |
| `target` | `string` |
| `args?` | `unknown` |

#### Returns

`ConversationGoto`

#### Overrides

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

## Properties

### guarded

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

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

Set when a failed `.guard()` redirected (outcome `'guarded'` instead of `'completed'`).

***

### target

```ts theme={null}
target: string;
```

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

***

### args?

```ts theme={null}
args?: unknown;
```

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


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