Skip to content

Commit

Permalink
status: add more status codes
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
  • Loading branch information
achille-roussel committed Feb 15, 2024
1 parent 9b334f2 commit b8bd771
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dispatch/sdk/v1/status.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b8bd771

Please sign in to comment.