Commit 85eb1bd7 by liyijie

add user error in one file

parent cdf6f399
...@@ -107,15 +107,5 @@ module RailsApiAuthentication ...@@ -107,15 +107,5 @@ module RailsApiAuthentication
end end
end end
end end
class UserError < RuntimeError
attr_reader :status, :code, :message
def initialize(status, code, message)
super()
@status = status
@code = code
@message = message
end
end
end end
module RailsApiAuthentication
class UserError < RuntimeError
attr_reader :status, :code, :message
def initialize(status, code, message)
super()
@status = status
@code = code
@message = message
end
end
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment