(err: BaseTransactionError)
| 109 | type Error = InvalidTransaction; |
| 110 | |
| 111 | fn try_from(err: BaseTransactionError) -> Result<Self, Self::Error> { |
| 112 | match err { |
| 113 | BaseTransactionError::DepositSystemTxPostRegolith => { |
| 114 | Ok(Self::DepositSystemTxPostRegolith) |
| 115 | } |
| 116 | BaseTransactionError::HaltedDepositPostRegolith => Ok(Self::HaltedDepositPostRegolith), |
| 117 | BaseTransactionError::MissingEnvelopedTx => Ok(Self::MissingEnvelopedTx), |
| 118 | BaseTransactionError::Eip8130(reason) => Ok(Self::Eip8130Rejected(reason)), |
| 119 | BaseTransactionError::Base(err) => Err(err), |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | /// Error type when interacting with the Sequencer |
nothing calls this directly
no outgoing calls
no test coverage detected