From a65dc0b4933d19d2605fe108ff6d7aca19fdef73 Mon Sep 17 00:00:00 2001 From: purple Date: Thu, 30 Nov 2023 23:12:11 +0100 Subject: [PATCH] feat(lib-throwError): add throwByte function [ ^^] --- blueprint/lib/throwError.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/blueprint/lib/throwError.sh b/blueprint/lib/throwError.sh index fa4435a..550b304 100644 --- a/blueprint/lib/throwError.sh +++ b/blueprint/lib/throwError.sh @@ -12,4 +12,11 @@ function throwError { if [[ $err == "" ]]; then err="$1"; fi log_red "[FATAL] $err" return 1 +} + +function throwByte { + # [ ^^] ello + if [[ $err == "" ]]; then err="$1"; fi + log_blue "[ " log_white "^^" log_blue "] $err" + return 1 } \ No newline at end of file