Exception: WampClient::CallError
- Inherits:
-
Exception
- Object
- Exception
- WampClient::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
Returns a new instance of CallError.
86 87 88 89 90 |
# File 'lib/wamp_client/session.rb', line 86 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.
84 85 86 |
# File 'lib/wamp_client/session.rb', line 84 def args @args end |
#error ⇒ Object
Returns the value of attribute error.
84 85 86 |
# File 'lib/wamp_client/session.rb', line 84 def error @error end |
#kwargs ⇒ Object
Returns the value of attribute kwargs.
84 85 86 |
# File 'lib/wamp_client/session.rb', line 84 def kwargs @kwargs end |