diff --git a/src/interfaces/http-error.ts b/src/interfaces/http-error.ts index 787b79c..e9f34fd 100644 --- a/src/interfaces/http-error.ts +++ b/src/interfaces/http-error.ts @@ -1,6 +1,13 @@ import HttpStatus from "./http-status"; -type DevMessage = "missing_or_invalid_parameter" | "data_exists" | "unknown_url" | "data_not_found"; +type DevMessage = + | "missing_or_invalid_parameter" + | "data_exists" + | "data_in_used" + | "no_permission" + | "unknown_url" + | "data_not_found" + | "unauthorized"; class HttpError extends Error { /**