# OperationError

Source: /tuil/docs/reference/packages/operations/api/operation-error
Locale: en

interface exported by @mwillbanks/tuil-operations.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-operations`.

```ts
export interface OperationError {
  readonly name: string;
  readonly message: string;
  readonly cause?: unknown;
}
```

## Members [#members]

| Member    | Type      | Required | Description                                      | Related types |
| --------- | --------- | -------- | ------------------------------------------------ | ------------- |
| `name`    | `string`  | Yes      | The `name` member uses the `string` contract.    | —             |
| `message` | `string`  | Yes      | The `message` member uses the `string` contract. | —             |
| `cause`   | `unknown` | No       | The `cause` member uses the `unknown` contract.  | —             |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/operations/src/index.ts)

## Package [#package]

[@mwillbanks/tuil-operations](/tuil/docs/reference/packages/operations)
