Inherit errors from StandardError instead of Exception.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class UserDeletion
|
||||
class ValidationError < Exception; end
|
||||
class ValidationError < StandardError; end
|
||||
|
||||
attr_reader :user, :password
|
||||
|
||||
|
||||
Reference in New Issue
Block a user