1use thiserror::Error;
23/// Errors produced while auditing a source file.
4#[derive(Debug, Error)]
5pub enum AuditError {
6/// The input was not valid Rust source (e.g. a WASM binary passed by mistake).
7#[error("source parse error: {0}")]
8Parse(#[from] syn::Error),
9}