(reason: &'static str, msg: impl Into<String>)
| 81 | } |
| 82 | |
| 83 | fn validation_err(reason: &'static str, msg: impl Into<String>) -> ErrorObjectOwned { |
| 84 | BundleApiMetrics::validation_errors(reason).increment(1); |
| 85 | rpc_err(ErrorCode::InvalidParams, msg) |
| 86 | } |
| 87 | |
| 88 | /// Validates the structural constraints on a [`SendBundleRequest`]. |
| 89 | /// |
no test coverage detected