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) ⇒ 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