1#[derive(Debug, thiserror::Error)]
3pub enum FeeError {
4 #[error("overflow error: {0}")]
7 Overflow(&'static str),
8
9 #[error("insufficient balance error: {0}")]
11 InsufficientBalance(&'static str),
12
13 #[error("operation not allowed error: {0}")]
15 OperationNotAllowed(&'static str),
16
17 #[error("corrupted estimated layer info missing error: {0}")]
19 CorruptedEstimatedLayerInfoMissing(String),
20
21 #[error("corrupted removed bytes from identities serialization error: {0}")]
23 CorruptedRemovedBytesFromIdentitiesSerialization(&'static str),
24
25 #[error("corrupted code execution error: {0}")]
27 CorruptedCodeExecution(&'static str),
28
29 #[error("decimal conversion error: {0}")]
31 DecimalConversion(&'static str),
32
33 #[error("document type field not found for estimation error: {0}")]
35 DocumentTypeFieldNotFoundForEstimation(String),
36}