Method: GraphQL::ExecutionError#options

Defined in:
lib/graphql/execution_error.rb

#optionsHash

Deprecated.

Use extensions instead of options. The GraphQL spec

recommends that any custom entries in an error be under the extensions key.

Returns:

  • (Hash)

    Optional data for error objects



26
27
28
# File 'lib/graphql/execution_error.rb', line 26

def options
  @options
end