Exception: Farcall::RemoteError
- Defined in:
- lib/farcall/transport.rb
Overview
The error occured while executin remote method
Instance Attribute Summary collapse
-
#remote_class ⇒ Object
readonly
Returns the value of attribute remote_class.
Instance Method Summary collapse
-
#initialize(remote_class, text) ⇒ RemoteError
constructor
A new instance of RemoteError.
Constructor Details
#initialize(remote_class, text) ⇒ RemoteError
Returns a new instance of RemoteError.
11 12 13 14 |
# File 'lib/farcall/transport.rb', line 11 def initialize remote_class, text @remote_class = remote_class super "#{remote_class}: #{text}" end |
Instance Attribute Details
#remote_class ⇒ Object (readonly)
Returns the value of attribute remote_class.
9 10 11 |
# File 'lib/farcall/transport.rb', line 9 def remote_class @remote_class end |