diff options
author | Bert Belder <bertbelder@gmail.com> | 2020-09-06 02:34:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 02:34:02 +0200 |
commit | c821e8f2f1fb8ad5e9eb00854277cafc8c80b2f5 (patch) | |
tree | c429a3c2707a4047fb512443a8468b7e15e5730d /cli/errors.rs | |
parent | 849431eb1d112d1f79f4a327830dc1a5bf22dd47 (diff) |
Move JSON ops to deno_core (#7336)
Diffstat (limited to 'cli/errors.rs')
-rw-r--r-- | cli/errors.rs | 2 |
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), |