<!-- Canonical: https://docs.linea.build/api/linea-smart-contracts/interfaces/igenericerrors -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/api/linea-smart-contracts/interfaces/igenericerrors.md](https://docs.linea.build/api/linea-smart-contracts/interfaces/igenericerrors.md).

# IGenericErrors

# `IGenericErrors`

### ZeroAddressNotAllowed

```solidity
error ZeroAddressNotAllowed()
```

_Thrown when a parameter is the zero address._

### ZeroHashNotAllowed

```solidity
error ZeroHashNotAllowed()
```

_Thrown when a parameter is the zero hash._

### ArrayLengthsDoNotMatch

```solidity
error ArrayLengthsDoNotMatch()
```

_Thrown when array lengths are mismatched._

Contributions not accepted

These reference pages are automatically generated based on Linea's [smart contracts](https://github.com/Consensys/linea-monorepo/tree/main/contracts/src). To ensure they accurately match the deployed smart contracts, we cannot accept any contributions that edit these pages.
