mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
8bfcd9a55c
https://github.com/hasura/graphql-engine-mono/pull/1698 GitOrigin-RevId: c3b6f1048b6702a53ebe6c49f23dedc0f1d88090
25 lines
484 B
YAML
25 lines
484 B
YAML
description: Run get_user_by_email query action with invalid email
|
|
url: /v1/graphql
|
|
status: 200
|
|
query:
|
|
query: |
|
|
query {
|
|
intentional_error(
|
|
blob: {
|
|
message: "intentionally generated error"
|
|
code: "toplevel-error"
|
|
extensions: { foo: "bar", code: "action-error" }
|
|
}
|
|
) {
|
|
id
|
|
}
|
|
}
|
|
|
|
|
|
response:
|
|
errors:
|
|
- extensions:
|
|
foo: bar
|
|
code: action-error
|
|
message: intentionally generated error
|