Exception: FFIDB::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ffidb/errors.rb

Overview

Base class for FFIDB errors.

Constant Summary collapse

EXIT_CODE =
Sysexits::EX_SOFTWARE

Instance Method Summary collapse

Instance Method Details

#exit_codeInteger

Returns:

  • (Integer)


13
14
15
# File 'lib/ffidb/errors.rb', line 13

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