Skip to content

Commit 2abee77

Browse files
author
David Revelo
committed
Remove namespace of error classes after rebase
1 parent 02188a4 commit 2abee77

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/graphql_devise/model/with_email_updater.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def call
2626
saved
2727
else
2828
raise(
29-
GraphqlDevise::Error,
29+
Error,
3030
'Method `update_with_email` requires attribute `confirmation_url` for email reconfirmation to work'
3131
)
3232
end

lib/graphql_devise/resource_loader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def call(query, mutation)
1515

1616
unless @resource.is_a?(Class)
1717
raise(
18-
GraphqlDevise::InvalidMountOptionsError,
18+
InvalidMountOptionsError,
1919
'A class must be provided when mounting a model. String values are no longer supported.'
2020
)
2121
end

0 commit comments

Comments
 (0)