Exception: SmilyCli::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SmilyCli::Error
- Defined in:
- lib/smily_cli/errors.rb,
sig/smily_cli.rbs
Overview
Base class for every error the CLI raises deliberately. Command handlers rescue this and print a clean, single-line message instead of a backtrace.
Direct Known Subclasses
Instance Method Summary collapse
-
#exit_status ⇒ Integer
Process exit status to use when this error reaches the top level.
Instance Method Details
#exit_status ⇒ Integer
Process exit status to use when this error reaches the top level.
11 12 13 |
# File 'lib/smily_cli/errors.rb', line 11 def exit_status 1 end |