IRONQ

Error Codes

All 24 IronQError variants

The program uses the IronQError enum for all error conditions. Each error includes a descriptive message.

ErrorMessage
QueuePausedQueue is currently paused
InsufficientStakeInsufficient stake amount
InvalidJobStatusJob is not in the expected status
JobAlreadyClaimedJob has already been claimed
MaxConcurrentJobsReachedWorker has reached maximum concurrent jobs
UnauthorizedCreatorOnly the job creator can perform this action
UnauthorizedWorkerOnly the assigned worker can perform this action
UnauthorizedArbiterOnly the arbiter can resolve disputes
DeadlinePassedJob deadline has passed
DeadlineNotPassedJob deadline has not yet passed
WorkerHasActiveJobsWorker has active jobs, cannot deregister
ZeroRewardReward amount must be greater than zero
InvalidPriorityInvalid priority level
ArithmeticOverflowArithmetic overflow
JobAlreadyInProgressJob cannot be cancelled after being claimed
JobNotTerminalJob is not in a terminal state, cannot close
InvalidSlashRateSlash rate must be <= 10000 basis points (100%)
InvalidCrankRewardCrank reward rate must be <= 10000 basis points (100%)
InvalidRentRecipientResult rent must be returned to the worker who submitted it
ZeroAmountAmount must be greater than zero
InvalidMaxConcurrentJobsMax concurrent jobs must be greater than zero
WorkerInactiveWorker is not active
AccountVersionMismatchAccount version mismatch — migration required
UnauthorizedPendingAuthorityOnly the proposed authority can accept the transfer