Exception: Gel::Error::MismatchRubyEngineError

Inherits:
UserError
  • Object
show all
Defined in:
lib/gel/error.rb

Instance Method Summary collapse

Methods inherited from UserError

#[], #inner_backtrace

Methods included from ReportableError

#details, #exit_code

Constructor Details

#initialize(running:, engine:) ⇒ MismatchRubyEngineError

Returns a new instance of MismatchRubyEngineError.



196
197
198
# File 'lib/gel/error.rb', line 196

def initialize(running:, engine:)
  super
end

Instance Method Details

#messageObject



200
201
202
# File 'lib/gel/error.rb', line 200

def message
  "Running ruby engine #{self[:running].inspect} does not match requested #{self[:engine].inspect}"
end