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, err_code = "InternalServerError", err_msg = "Internal server error", http_code = 500) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(msg = nil, err_code = "InternalServerError", err_msg = "Internal server error", http_code = 500) ⇒ ServerError
Returns a new instance of ServerError.
27 28 29 |
# File 'lib/distelli/serviceinterface.rb', line 27 def initialize(msg=nil, err_code="InternalServerError", err_msg="Internal server error", http_code=500) super(msg, err_code, err_msg, http_code) end |