class Shells::NonZeroExitCode
An error raised when a command exits with a non-zero status.
Attributes
exit_code[RW]
The exit code triggering the error.
Public Class Methods
new(exit_code)
click to toggle source
Creates a new non-zero exit code error.
# File lib/shells/errors.rb, line 44 def initialize(exit_code) self.exit_code = exit_code end