diff --git a/rust/worker/src/errors.rs b/rust/worker/src/errors.rs index 515b460389c..c28d39ba9b7 100644 --- a/rust/worker/src/errors.rs +++ b/rust/worker/src/errors.rs @@ -41,6 +41,6 @@ pub(crate) enum ErrorCodes { DataLoss = 15, } -pub trait ChromaError: Error { +pub(crate) trait ChromaError: Error { fn code(&self) -> ErrorCodes; }