class Geny::ExitError
Raised when a shell command exits with a non-zero status.
Attributes
code[R]
command[R]
Public Class Methods
new(code:, command:)
click to toggle source
Calls superclass method
# File lib/geny/error.rb, line 14 def initialize(code:, command:) @code = code @command = command super "Command `#{command}` failed (exit code: #{code})" end