summaryrefslogtreecommitdiff
path: root/cli/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/errors.rs')
-rw-r--r--cli/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/errors.rs b/cli/errors.rs
index 2d7bb1cd6..327bcfb58 100644
--- a/cli/errors.rs
+++ b/cli/errors.rs
@@ -168,7 +168,7 @@ fn get_nix_error_class(error: &nix::Error) -> &'static str {
}
}
-pub fn get_error_class(e: &ErrBox) -> &'static str {
+pub(crate) fn get_error_class_name(e: &ErrBox) -> &'static str {
use ErrBox::*;
match e {
Simple { class, .. } => Some(*class),