diff --git a/internal/api/types/error_code.go b/internal/api/types/error_code.go deleted file mode 100644 index 62827797..00000000 --- a/internal/api/types/error_code.go +++ /dev/null @@ -1,17 +0,0 @@ -package apitypes - -type ErrorCode int - -const ( - ErrorCodeUnauthorized ErrorCode = iota + 1 - ErrorCodeNotFound - ErrorCodeInternalServerError -) - -func (e ErrorCode) String() string { - return []string{ - "Unauthorized", - "Not Found", - "Internal Server Error", - }[e] -}