Skip to main content
pub async fn decode_error(
    result_xdr: &str,
    network: &NetworkConfig
) -> Result<DiagnosticReport, PrismError>
Given a transaction result XDR, this function:
  • Classifies the error category.
  • Enriches the error with taxonomy data.
  • Returns a structured report suitable for UI rendering.