Set default status code for evaluation error
@@ -15,7 +15,7 @@ var (
BackendTimeout = &Error{synopsis: "backend timeout error", httpStatus: http.StatusGatewayTimeout}
BackendValidation = &Error{synopsis: "backend validation error", httpStatus: http.StatusBadRequest}
ClientRequest = &Error{synopsis: "client request error", httpStatus: http.StatusBadRequest}
- Evaluation = &Error{synopsis: "expression evaluation error", kinds: []string{"evaluation"}}
+ Evaluation = &Error{synopsis: "expression evaluation error", kinds: []string{"evaluation"}, httpStatus: http.StatusInternalServerError}
Configuration = &Error{synopsis: "configuration error", kinds: []string{"configuration"}, httpStatus: http.StatusInternalServerError}
Proxy = &Error{synopsis: "proxy error", httpStatus: http.StatusBadGateway}
Request = &Error{synopsis: "request error", httpStatus: http.StatusBadGateway}
