Exception: Farcall::RemoteError

Inherits:
Error
  • Object
show all
Defined in:
lib/farcall/transport.rb

Overview

The error occured while executin remote method

Instance Attribute Summary collapse

Instance Method Summary collapse

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_classObject (readonly)

Returns the value of attribute remote_class.



9
10
11
# File 'lib/farcall/transport.rb', line 9

def remote_class
  @remote_class
end