mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-24 07:52:14 +03:00
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
|