Exception: Subscriber::ServerException
- Inherits:
-
ErrorReporter
- Object
- RuntimeError
- ErrorReporter
- Subscriber::ServerException
- Defined in:
- lib/bunny-pub-sub/subscriber.rb
Instance Attribute Summary
Attributes inherited from ErrorReporter
Instance Method Summary collapse
-
#initialize(message, status = 500) ⇒ ServerException
constructor
A new instance of ServerException.
Methods inherited from ErrorReporter
Constructor Details
#initialize(message, status = 500) ⇒ ServerException
Returns a new instance of ServerException.
41 42 43 44 |
# File 'lib/bunny-pub-sub/subscriber.rb', line 41 def initialize(, status = 500) puts "Server error: #{message}, #{status}" super(, status) end |