Skip to content

absinthe.execute.operation.exception

View Markdown

An Absinthe GraphQL operation raised an exception. Uses the same fields as absinthe.execute.operation.stop.

Source Absinthe Category GraphQL Fields 8 honeybadger-elixir

Fields

8
FieldTypeDescription
event_typestringAllowed value: absinthe.execute.operation.exception.
operation_namestringNamed operation from the GraphQL query, if present.
operation_typestringOperation type: "query", "mutation", or "subscription".
selectionsarray<string>Top-level field names selected in the operation.
schemastringAbsinthe schema module name.
errorsarray<object>GraphQL errors returned in the result, if any.
durationnumberDuration in microseconds before the exception was raised.
request_idstringRequest ID from the current EventContext.

Example

{
"event_type": "absinthe.execute.operation.exception",
"operation_name": "CreateUser",
"operation_type": "mutation",
"selections": [
"createUser"
],
"schema": "Elixir.MyAppWeb.Schema",
"errors": [
{
"message": "An unexpected error occurred",
"path": [
"createUser"
]
}
],
"duration": 12000,
"request_id": "F8ZBOg1zcBQDqDgAAADx"
}