fix(errors)!: forbid interpolated details in wire-facing internal errors

This commit is contained in:
CleverWild
2026-08-09 00:11:03 +02:00
parent 357726bc5d
commit e79fc055d4
11 changed files with 94 additions and 152 deletions

View File

@@ -30,6 +30,7 @@ impl Display for ArbiterUrl {
}
#[derive(Debug, thiserror::Error, miette::Diagnostic)]
#[non_exhaustive]
pub enum Error {
#[error("Invalid URL scheme, expected '{ARBITER_URL_SCHEME}://'")]
#[diagnostic(