error: add is_disc_level_no_key classifier (re-exported)

Distinguishes a WHOLE-DISC key failure (E_NO_DISC_KEY / E_KEYDB_LOAD /
E_AACS_NO_KEYS -- every title fails identically) from a per-title skippable
stub. The engine's multi-title loop uses it to fail-fast on the first no-key
title instead of iterating all N. Additive.
This commit is contained in:
MattJackson
2026-07-28 12:45:58 -07:00
parent 43564d5752
commit d22d09c898
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ pub use session::{
// All fallible APIs return `Result<T, Error>`. `Error` is a typed enum with a
// numeric `code()`; **no English text in the library** — applications map
// codes to localized messages. See `error.rs` for the full taxonomy.
pub use error::{Error, Result, is_halt, is_skippable_title_stub};
pub use error::{Error, Result, is_disc_level_no_key, is_halt, is_skippable_title_stub};
// ─── Cooperative cancellation ───────────────────────────────────────────────
//