summaryrefslogtreecommitdiff
path: root/core/error_codes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/error_codes.rs')
-rw-r--r--core/error_codes.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/error_codes.rs b/core/error_codes.rs
index 6a8dd9fa3..874aa4ec6 100644
--- a/core/error_codes.rs
+++ b/core/error_codes.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
use anyhow::Error;
pub fn get_error_code(err: &Error) -> Option<&'static str> {