Exception: NATS::RPC::RemoteError
- Inherits:
-
StandardError
- Object
- StandardError
- NATS::RPC::RemoteError
- Defined in:
- lib/nats/rpc/errors.rb
Instance Attribute Summary collapse
-
#remote_exception ⇒ Object
Returns the value of attribute remote_exception.
Instance Method Summary collapse
Instance Attribute Details
#remote_exception ⇒ Object
Returns the value of attribute remote_exception.
4 5 6 |
# File 'lib/nats/rpc/errors.rb', line 4 def remote_exception @remote_exception end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/nats/rpc/errors.rb', line 11 def super end |
#to_s ⇒ Object
6 7 8 9 |
# File 'lib/nats/rpc/errors.rb', line 6 def to_s msg = super "#{self.remote_exception} (#{msg})" end |