# KeysmithErrorOptions

Defined in: [packages/keysmith/src/errors.ts:33](https://github.com/FilOzone/synapse-sdk/blob/d1e51787ce751c5d9bed8bb54d8e716d24759179/packages/keysmith/src/errors.ts#L33)

Optional metadata carried on a [KeysmithError](/reference/filoz/keysmith/classes/keysmitherror/).

## Extends

- `ErrorOptions`

## Properties

### cause?

> `optional` **cause?**: `unknown`

Defined in: node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es2022.error.d.ts:20

#### Inherited from

`ErrorOptions.cause`

***

### linkIndex?

> `optional` **linkIndex?**: `number`

Defined in: [packages/keysmith/src/errors.ts:41](https://github.com/FilOzone/synapse-sdk/blob/d1e51787ce751c5d9bed8bb54d8e716d24759179/packages/keysmith/src/errors.ts#L41)

Zero-based index of the claim chain link that failed, when applicable.

***

### value?

> `optional` **value?**: `unknown`

Defined in: [packages/keysmith/src/errors.ts:39](https://github.com/FilOzone/synapse-sdk/blob/d1e51787ce751c5d9bed8bb54d8e716d24759179/packages/keysmith/src/errors.ts#L39)

The refused input value, when safe to attach (never set for private keys,
passwords, or caller-supplied recipient/owner/bearer arguments). Stored as
a non-enumerable property so log serializers do not print it.