Class: Google::Cloud::Gemserver::CLI::Error
- Inherits:
-
Thor::Error
- Object
- Thor::Error
- Google::Cloud::Gemserver::CLI::Error
- Defined in:
- lib/google/cloud/gemserver/cli.rb
Overview
Error class thrown when a command that does not exist is run.
Instance Method Summary collapse
-
#initialize(cli, message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(cli, message) ⇒ Error
36 37 38 |
# File 'lib/google/cloud/gemserver/cli.rb', line 36 def initialize cli, super cli.set_color(, :red) end |