Exception: SmilyCli::UsageError

Inherits:
Error
  • Object
show all
Defined in:
lib/smily_cli/errors.rb,
sig/smily_cli.rbs

Overview

Raised when the user asks for something the CLI cannot satisfy: an unknown resource, a bad flag combination, unparseable --data, etc.

Instance Method Summary collapse

Instance Method Details

#exit_statusObject



23
24
25
# File 'lib/smily_cli/errors.rb', line 23

def exit_status
  2
end