summaryrefslogtreecommitdiff
path: root/core/error_codes.rs
diff options
context:
space:
mode:
authorYiyu Lin <linyiyu1992@gmail.com>2023-01-13 15:51:32 +0800
committerGitHub <noreply@github.com>2023-01-13 16:51:32 +0900
commita00e432297d2ae119c8e1097aec74badc886f912 (patch)
tree7380b37245e889e97a8c7b1535a1e31fddb74738 /core/error_codes.rs
parent5707a958ac2b44d573d50260b1d0d40887662011 (diff)
chore: add `copyright_checker` tool and add the missing copyright (#17285)
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> {