Exception: Elrpc::EPCRuntimeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/elrpc.rb

Instance Method Summary collapse

Constructor Details

#initialize(_classname, _message, _backtrace) ⇒ EPCRuntimeError

Returns a new instance of EPCRuntimeError.



165
166
167
168
169
# File 'lib/elrpc.rb', line 165

def initialize(_classname, _message, _backtrace)
  @_classname = _classname
  @_message = _message
  @_backtrace = _backtrace
end

Instance Method Details

#messageObject



171
172
173
# File 'lib/elrpc.rb', line 171

def message
  "#{@_classname} : #{@_message}"
end

#remote_backtraceObject



184
185
186
# File 'lib/elrpc.rb', line 184

def remote_backtrace
  @_backtrace
end

#remote_classnameObject



178
179
180
# File 'lib/elrpc.rb', line 178

def remote_classname
  @_classname
end

#remote_messageObject



181
182
183
# File 'lib/elrpc.rb', line 181

def remote_message
  @_message
end

#to_sObject



174
175
176
# File 'lib/elrpc.rb', line 174

def to_s
  message
end