socialforge/app/api/mobile/exceptions/auth_exception.rb

14 lines
228 B
Ruby
Raw Normal View History

#coding=utf-8
#
module Mobile
module Exceptions
class AuthException < StandardError
attr_reader :err_code, :msg
def initialize(code, msg)
@err_code = code
@msg = msg
end
end
end
end