v0.1.2-pre.003

This commit is contained in:
2026-08-14 18:24:28 +02:00
parent 697527675a
commit 6e06802e38
10 changed files with 631 additions and 26 deletions

View File

@@ -1,5 +1,9 @@
// file: crates/ksp-logging-lib/src/error.rs
// version: 1
// version: 2
/// Error code used when runtime logging settings are invalid.
pub const ERROR_CODE_INVALID_SETTINGS: ksp_core_lib::ErrorCode = ksp_core_lib::ErrorCode::new("logging", "invalid_settings");
/// Error code used when a global logging subscriber is already installed.
pub const ERROR_CODE_ALREADY_INITIALIZED: ksp_core_lib::ErrorCode = ksp_core_lib::ErrorCode::new("logging", "already_initialized");
/// Error code used when a hot reload cannot replace the active runtime layers.
pub const ERROR_CODE_RELOAD_FAILED: ksp_core_lib::ErrorCode = ksp_core_lib::ErrorCode::new("logging", "reload_failed");