circles_types/errors.rs
1use serde::{Deserialize, Serialize};
2
3/// Decoded contract error information
4/// Contains parsed error data from failed contract transactions
5#[derive(Debug, Clone, Serialize, Deserialize)]
6pub struct DecodedContractError {
7 pub error_name: String,
8 pub args: Option<Vec<serde_json::Value>>,
9 pub selector: String,
10 pub raw_data: String,
11 pub formatted_message: String,
12}