From f1a732a090ba9ff3228ae6b764d20946ecd4057e Mon Sep 17 00:00:00 2001 From: dragonmuffin Date: Sun, 25 Aug 2024 22:57:40 +0500 Subject: [PATCH] feat:add runtime error code --- pkg/models/result.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/models/result.go b/pkg/models/result.go index 2cf5b43..8988721 100644 --- a/pkg/models/result.go +++ b/pkg/models/result.go @@ -13,8 +13,9 @@ const ( CompilationError Result = 2 MemoryLimitExceeded Result = 3 TimeLimitExceeded Result = 4 - SystemFailDuringTesting Result = 5 - Testing Result = 6 + RuntimeError Result = 5 + SystemFailDuringTesting Result = 6 + Testing Result = 7 ) var ErrBadResult = errors.New("bad result")