Exception: Distelli::ServerError
- Inherits:
-
BaseException
- Object
- StandardError
- BaseException
- Distelli::ServerError
- Defined in:
- lib/distelli/serviceinterface.rb
Instance Attribute Summary
Attributes inherited from BaseException
#err_code, #err_msg, #http_code
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(msg = nil) ⇒ ServerError
Returns a new instance of ServerError.
27 28 29 |
# File 'lib/distelli/serviceinterface.rb', line 27 def initialize(msg=nil) super(msg, "InternalServerError", "Internal server error", 500) end |