The error taxonomy is a community-contributable database of every known Soroban host error. It's the easiest way to contribute to Prism — no Rust knowledge required!
Taxonomy files are in crates/core/src/taxonomy/data/, one file per error category:
budget.toml,storage.toml,auth.toml,context.toml,value.tomlobject.toml,crypto.toml,contract.toml,wasm.toml,events.toml
- Find the TOML file for the error category
- Add or improve an entry (see Entry Format below)
- Submit a PR
[[errors]]
id = "host.category.error_name"
category = "category"
code = 0
name = "ErrorName"
severity = "Error"
summary = "One-sentence description."
detailed_explanation = """Multi-paragraph explanation."""
[[errors.common_causes]]
description = "Root cause description"
likelihood = "high" # high | medium | low
[[errors.suggested_fixes]]
description = "Fix description"
difficulty = "easy" # easy | medium | hard
requires_upgrade = false