> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Error.getSignature

> Get canonical signature string for a custom error

## Overview

`Error.getSignature` returns the canonical error signature used to derive selectors.

## Quick Start

```typescript theme={null}
import { Abi } from '@tevm/voltaire/Abi';

const InsufficientBalance = {
  type: 'error',
  name: 'InsufficientBalance',
  inputs: [
    { type: 'uint256', name: 'balance' },
    { type: 'uint256', name: 'required' }
  ]
} as const;

const signature = Abi.Error.getSignature(InsufficientBalance);
// "InsufficientBalance(uint256,uint256)"
```

## Canonical Types

Signatures require canonical type names (e.g. `uint256` instead of `uint`). Tuple inputs expand to their component types.

## See Also

* [getSelector](/primitives/abi/error/get-selector) - Compute error selector
* [Selectors](/primitives/abi/selectors) - Signature and selector rules
