Exception: RubyRabbitmqJanus::Errors::JanusResponsePlugin

Inherits:
JanusResponse show all
Defined in:
lib/rrj/errors/janus_response.rb

Overview

Define an error for plugin

Author:

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ JanusResponsePlugin

Returns a new instance of JanusResponsePlugin.



33
34
35
# File 'lib/rrj/errors/janus_response.rb', line 33

def initialize(message)
  super "[#{message['error_code']}] #{message['error']}"
end