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

# RafflFactoryErrors

# Errors

[Git Source](https://github.com/Raffleth/protocol/blob/d0e7a98ac74e241068705b47dbc09c29744e1867/src/libraries/RafflFactoryErrors.sol)

## Errors

### AddressCanNotBeZero

Thrown if the provided address is a zero address.

```solidity theme={null}
error AddressCanNotBeZero();
```

### FailedToDeploy

Thrown if contract deployment fails.

```solidity theme={null}
error FailedToDeploy();
```

### FeeOutOfRange

Thrown if the fee does falls outside the allowed range.

```solidity theme={null}
error FeeOutOfRange();
```

### NotFeeCollector

Thrown if the sender is not a fee collector.

```solidity theme={null}
error NotFeeCollector();
```

### DeadlineIsNotFuture

Thrown if the provided deadline is not in the future.

```solidity theme={null}
error DeadlineIsNotFuture();
```

### UnsuccessfulTransferFromPrize

Thrown if transfer from prize pool fails.

```solidity theme={null}
error UnsuccessfulTransferFromPrize();
```

### ERC20PrizeAmountIsZero

Thrown if the prize amount in ERC20 token is zero.

```solidity theme={null}
error ERC20PrizeAmountIsZero();
```

### UpkeepConditionNotMet

Thrown if the upkeep condition is not met.

```solidity theme={null}
error UpkeepConditionNotMet();
```

### NoActiveRaffles

Thrown if there are no active raffles.

```solidity theme={null}
error NoActiveRaffles();
```

### InvalidLowerAndUpperBounds

Thrown if the lower and upper bounds of raffle are invalid.

```solidity theme={null}
error InvalidLowerAndUpperBounds();
```

### ActiveRaffleIndexOutOfBounds

Thrown if the active raffle index is out of bounds.

```solidity theme={null}
error ActiveRaffleIndexOutOfBounds();
```

### InsufficientCreationFee

Error to indicate that the creation fee is insufficient.

```solidity theme={null}
error InsufficientCreationFee();
```

### UnsuccessfulCreationFeeTransfer

Error to indicate an unsuccessful transfer of the creation fee.

```solidity theme={null}
error UnsuccessfulCreationFeeTransfer();
```
