Exception: Wamp::Client::CallError
- Inherits:
-
Exception
- Object
- Exception
- Wamp::Client::CallError
- Defined in:
- lib/wamp/client/session.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#error ⇒ Object
Returns the value of attribute error.
-
#kwargs ⇒ Object
Returns the value of attribute kwargs.
Instance Method Summary collapse
-
#initialize(error, args = nil, kwargs = nil) ⇒ CallError
constructor
A new instance of CallError.
Constructor Details
#initialize(error, args = nil, kwargs = nil) ⇒ CallError
107 108 109 110 111 |
# File 'lib/wamp/client/session.rb', line 107 def initialize(error, args=nil, kwargs=nil) self.error = error self.args = args || [] self.kwargs = kwargs || {} end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
105 106 107 |
# File 'lib/wamp/client/session.rb', line 105 def args @args end |
#error ⇒ Object
Returns the value of attribute error.
105 106 107 |
# File 'lib/wamp/client/session.rb', line 105 def error @error end |
#kwargs ⇒ Object
Returns the value of attribute kwargs.
105 106 107 |
# File 'lib/wamp/client/session.rb', line 105 def kwargs @kwargs end |