Exception: GraphQL::CoercionError
- Defined in:
- lib/graphql/coercion_error.rb
Instance Attribute Summary collapse
-
#extensions ⇒ Hash
under the
extensions
key.
Instance Method Summary collapse
-
#initialize(message, extensions: nil) ⇒ CoercionError
constructor
A new instance of CoercionError.
Constructor Details
#initialize(message, extensions: nil) ⇒ CoercionError
Returns a new instance of CoercionError.
8 9 10 11 |
# File 'lib/graphql/coercion_error.rb', line 8 def initialize(, extensions: nil) @extensions = extensions super() end |
Instance Attribute Details
#extensions ⇒ Hash
under the extensions
key.
6 7 8 |
# File 'lib/graphql/coercion_error.rb', line 6 def extensions @extensions end |