Update ErrRequestErrorBase from [plugin.downstreamError] to [plugin.requestFailureError] (#100965)

* Update ErrRequestErrorBase to make it more clear for developers

* Trigger build

* requestError -> requestFailureError

* Fix test

* Update pkg/plugins/backendplugin/grpcplugin/client_v2.go

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

---------

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
Ivana Huckova
2025-02-20 10:23:53 +01:00
committed by GitHub
co-authored by Will Browne
parent c654a580f7
commit 9eda0f44ac
6 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ func TestDataSourceQueryError(t *testing.T) {
expectedStatus: errutil.StatusInternal.HTTPStatus(),
expectedBody: body{
Message: "An error occurred within the plugin",
MessageId: "plugin.downstreamError",
MessageId: "plugin.requestFailureError",
StatusCode: 500,
},
},