Exception: BugBunny::Exception::ComunicationRabbitError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bug_bunny/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, backtrace) ⇒ ComunicationRabbitError

Returns a new instance of ComunicationRabbitError.



34
35
36
37
# File 'lib/bug_bunny/exception.rb', line 34

def initialize(msg, backtrace)
  @backtrace = backtrace
  super(msg)
end

Instance Attribute Details

#backtraceObject

Returns the value of attribute backtrace.



32
33
34
# File 'lib/bug_bunny/exception.rb', line 32

def backtrace
  @backtrace
end