Class: GraphqlDevise::UserError

Inherits:
ExecutionError
  • Object
show all
Defined in:
lib/graphql_devise/errors/user_error.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



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