diff --git a/crates/core/tests/errors.rs b/crates/core/tests/errors.rs index 3da3dc09..eddea288 100644 --- a/crates/core/tests/errors.rs +++ b/crates/core/tests/errors.rs @@ -10,7 +10,7 @@ fn error() -> Box { ) .attach_status(Status::Permanent) .attach_severity(Severity::Error) - .attach_error_code("E001") + .attach_error_code("C001") .attach_context("path", "/path/to/file") .attach_context("called", "used s3 backend") .attach_source(std::io::Error::new( diff --git a/crates/core/tests/snapshots/errors__error_debug.snap b/crates/core/tests/snapshots/errors__error_debug.snap index af164a92..90b1718e 100644 --- a/crates/core/tests/snapshots/errors__error_debug.snap +++ b/crates/core/tests/snapshots/errors__error_debug.snap @@ -23,7 +23,7 @@ RusticError { ], docs_url: None, error_code: Some( - "E001", + "C001", ), new_issue_url: None, existing_issue_url: None, diff --git a/crates/core/tests/snapshots/errors__error_display.snap b/crates/core/tests/snapshots/errors__error_display.snap index 62a7651f..9269936b 100644 --- a/crates/core/tests/snapshots/errors__error_display.snap +++ b/crates/core/tests/snapshots/errors__error_display.snap @@ -17,7 +17,7 @@ Severity: Error Status: Permanent -For more information, see: https://rustic.cli.rs/docs/errors/E001 +For more information, see: https://rustic.cli.rs/docs/errors/C001 If you think this is an undiscovered bug, please open an issue at: https://github.com/rustic-rs/rustic_core/issues/new