pub enum WorkerError {
Show 17 variants
Unknown(String),
InvalidRequest(String),
StackOverflow,
OutOfMemory,
ExceededMemoryLimit,
InternalError(String),
DeterministicTrap(String),
TransientError(String),
PermanentError(String),
ExceededTableLimit,
ExceededHttpCallLimit,
ExceededRpcCallLimit,
AgentTerminatedByQuota(AgentTerminatedByQuotaError),
EphemeralSleepTooLong(EphemeralSleepTooLong),
EphemeralFuelExhausted(EphemeralFuelExhausted),
EphemeralCannotSuspend(EphemeralCannotSuspend),
ReadOnlyViolation(ReadOnlyViolation),
}Expand description
Describes the error that occurred in the agent
Variants§
Unknown(String)
InvalidRequest(String)
StackOverflow
OutOfMemory
ExceededMemoryLimit
InternalError(String)
DeterministicTrap(String)
TransientError(String)
PermanentError(String)
ExceededTableLimit
ExceededHttpCallLimit
ExceededRpcCallLimit
AgentTerminatedByQuota(AgentTerminatedByQuotaError)
EphemeralSleepTooLong(EphemeralSleepTooLong)
EphemeralFuelExhausted(EphemeralFuelExhausted)
EphemeralCannotSuspend(EphemeralCannotSuspend)
ReadOnlyViolation(ReadOnlyViolation)
Trait Implementations§
Source§impl Clone for WorkerError
impl Clone for WorkerError
Auto Trait Implementations§
impl Freeze for WorkerError
impl RefUnwindSafe for WorkerError
impl Send for WorkerError
impl Sync for WorkerError
impl Unpin for WorkerError
impl UnsafeUnpin for WorkerError
impl UnwindSafe for WorkerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more