Exception: Distelli::ServerError

Inherits:
BaseException show all
Defined in:
lib/distelli/serviceinterface.rb

Instance Attribute Summary

Attributes inherited from BaseException

#err_code, #err_msg, #http_code

Instance Method Summary collapse

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