Enum diem_parallel_executor::errors::Error
source · pub enum Error<E> {
InvariantViolation,
InferencerError,
UnestimatedWrite,
UserError(E),
}
Variants§
InvariantViolation
Invariant violation that happens internally inside of scheduler, usually an indication of implementation error.
InferencerError
The inference can’t get the read/write set of a transaction, abort the entire execution pipeline.
UnestimatedWrite
A transaction write to a key that wasn’t estimated by the inferencer, abort the execution because we don’t have a good way of handling read-after-write dependency. Will relax this limitation later.
UserError(E)
Execution of a thread yields a non-recoverable error, such error will be propagated back to the caller.