From b8bd7713eeb30f975d87d4cf3ce512b207e9de03 Mon Sep 17 00:00:00 2001 From: Achille Roussel Date: Wed, 14 Feb 2024 20:43:57 -0800 Subject: [PATCH] status: add more status codes Signed-off-by: Achille Roussel --- dispatch/sdk/v1/status.proto | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dispatch/sdk/v1/status.proto b/dispatch/sdk/v1/status.proto index 17d614d..a83c4ce 100644 --- a/dispatch/sdk/v1/status.proto +++ b/dispatch/sdk/v1/status.proto @@ -14,5 +14,11 @@ enum Status { STATUS_TEMPORARY_ERROR = 6; STATUS_PERMANENT_ERROR = 7; STATUS_INCOMPATIBLE_STATE = 8; - // TODO: better error statuses + STATUS_DNS_ERROR = 9; + STATUS_TCP_ERROR = 10; + STATUS_TLS_ERROR = 11; + STATUS_HTTP_ERROR = 12; + STATUS_UNAUTHENTICATED = 13; + STATUS_PERMISSION_DENIED = 14; + STATUS_NOT_FOUND = 15; }