Errors

Git Source

Errors

OnlyFactoryAllowed

Thrown if anyone other than the factory tries to interact.
error OnlyFactoryAllowed();

OnlyCreatorAllowed

Thrown if anyone other than the creator tries to interact.
error OnlyCreatorAllowed();

EntryQuantityRequired

Thrown if no entry quantity is provided.
error EntryQuantityRequired();

EntriesPurchaseClosed

Thrown if the entries purchase period is closed.
error EntriesPurchaseClosed();

EntriesPurchaseInvalidValue

Thrown if invalid value provided for entries purchase.
error EntriesPurchaseInvalidValue();

RefundsOnlyAllowedOnFailedDraw

Thrown if refunds are initiated before draw failure.
error RefundsOnlyAllowedOnFailedDraw();

UserWithoutEntries

Thrown if a user without entries tries to claim.
error UserWithoutEntries();

UserAlreadyRefunded

Thrown if a user was already refunded entries.
error UserAlreadyRefunded();

PrizesAlreadyRefunded

Thrown if prizes are already refunded.
error PrizesAlreadyRefunded();

MaxUserEntriesReached

Thrown if the maximum entries limit per user has been reached.
error MaxUserEntriesReached();

MaxTotalEntriesReached

Thrown if the total maximum entries limit has been reached.
error MaxTotalEntriesReached();

WithoutRefunds

Thrown if the refund operation is initiated without any refunds.
error WithoutRefunds();

TokenGateRestriction

Thrown if token gate restriction is violated.
error TokenGateRestriction();