diff --git a/backend/app/rest/httperrors.go b/backend/app/rest/httperrors.go index 48a815ec..f682b3ec 100644 --- a/backend/app/rest/httperrors.go +++ b/backend/app/rest/httperrors.go @@ -12,6 +12,7 @@ import ( "github.com/go-pkgz/rest" ) +// All error codes for UI mapping and translation const ( ErrInternal = 0 // any internal error ErrCommentNotFound = 1 // can't find comment