Exception: Gel::Error::ExtensionBuildError

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(program_name:, exitstatus:) ⇒ ExtensionBuildError

Returns a new instance of ExtensionBuildError.



146
147
148
# File 'lib/gel/error.rb', line 146

def initialize(program_name:, exitstatus:)
  super
end

Instance Method Details

#messageObject



150
151
152
# File 'lib/gel/error.rb', line 150

def message
  "#{self[:program_name].inspect} exited with #{self[:exitstatus].inspect}"
end