Exception: ReaperMan::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/reaper-man/error.rb

Overview

Standard error for reaper errors

Constant Summary collapse

CODE =

exit code for exception

-1

Instance Method Summary collapse

Instance Method Details

#exit_codeInteger

Returns:

  • (Integer)


10
11
12
# File 'lib/reaper-man/error.rb', line 10

def exit_code
  self.class.const_get(:CODE)
end