Class: GraphqlDevise::UserError
- Inherits:
-
ExecutionError
- Object
- GraphQL::ExecutionError
- ExecutionError
- GraphqlDevise::UserError
- Defined in:
- lib/graphql_devise/errors/user_error.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
5 6 7 |
# File 'lib/graphql_devise/errors/user_error.rb', line 5 def to_h super.merge(extensions: { code: ERROR_CODES.fetch(:user_error) }) end |