From 4458e0dcccc01d3a95c15cf42a59d4aa670628ed Mon Sep 17 00:00:00 2001 From: fillol <55287657+Darklabel91@users.noreply.github.com> Date: Thu, 21 Apr 2022 02:05:08 -0300 Subject: [PATCH] Some bug with the merge --- Error/error.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Error/error.go diff --git a/Error/error.go b/Error/error.go new file mode 100644 index 0000000..d7286a5 --- /dev/null +++ b/Error/error.go @@ -0,0 +1,7 @@ +package Error + +func CheckError(err error) { + if err != nil { + panic(err.Error()) + } +}