Skip to main content

Documentation Index

Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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.