Class: GraphqlDevise::AuthenticationError

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

Instance Method Summary collapse

Instance Method Details

#to_hObject



5
6
7
# File 'lib/graphql_devise/errors/authentication_error.rb', line 5

def to_h
  super.merge(extensions: { code: ERROR_CODES.fetch(:authentication_error) })
end