We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4a6e7 commit 9cac379Copy full SHA for 9cac379
error_defaults.go
@@ -60,10 +60,10 @@ var ErrConflict = DefaultError{
60
61
var ErrMisconfiguration = DefaultError{
62
IDField: "invalid_configuration",
63
- StatusField: http.StatusText(http.StatusInternalServerError),
+ StatusField: http.StatusText(http.StatusServiceUnavailable),
64
ErrorField: "Invalid configuration",
65
ReasonField: "One or more configuration values are invalid. Please report this to the system administrator.",
66
- CodeField: http.StatusInternalServerError,
+ CodeField: http.StatusServiceUnavailable,
67
GRPCCodeField: codes.Internal,
68
}
69
0 commit comments