# Address Errors

## `Address.InvalidAddressError`

Thrown when an address is invalid.

### Examples

```ts twoslash
import { Address } from 'ox'

Address.from('0x123')
// @error: Address.InvalidAddressError: Address `0x123` is invalid.
```

**Source:** [src/core/Address.ts](https://github.com/wevm/ox/blob/main/src/core/Address.ts#L374)

## `Address.InvalidChecksumError`

Thrown when an address does not match its checksum counterpart.

**Source:** [src/core/Address.ts](https://github.com/wevm/ox/blob/main/src/core/Address.ts#L374)

## `Address.InvalidInputError`

Thrown when an address is not a 20 byte (40 hexadecimal character) value.

**Source:** [src/core/Address.ts](https://github.com/wevm/ox/blob/main/src/core/Address.ts#L374)
