Errors

Git Source

Errors

AddressCanNotBeZero

Thrown if the provided address is a zero address.

error AddressCanNotBeZero();

FailedToDeploy

Thrown if contract deployment fails.

error FailedToDeploy();

FeeOutOfRange

Thrown if the fee does falls outside the allowed range.

error FeeOutOfRange();

NotFeeCollector

Thrown if the sender is not a fee collector.

error NotFeeCollector();

DeadlineIsNotFuture

Thrown if the provided deadline is not in the future.

error DeadlineIsNotFuture();

UnsuccessfulTransferFromPrize

Thrown if transfer from prize pool fails.

error UnsuccessfulTransferFromPrize();

ERC20PrizeAmountIsZero

Thrown if the prize amount in ERC20 token is zero.

error ERC20PrizeAmountIsZero();

UpkeepConditionNotMet

Thrown if the upkeep condition is not met.

error UpkeepConditionNotMet();

NoActiveRaffles

Thrown if there are no active raffles.

error NoActiveRaffles();

InvalidLowerAndUpperBounds

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

error InvalidLowerAndUpperBounds();

ActiveRaffleIndexOutOfBounds

Thrown if the active raffle index is out of bounds.

error ActiveRaffleIndexOutOfBounds();

InsufficientCreationFee

Error to indicate that the creation fee is insufficient.

error InsufficientCreationFee();

UnsuccessfulCreationFeeTransfer

Error to indicate an unsuccessful transfer of the creation fee.

error UnsuccessfulCreationFeeTransfer();