Class: Google::Cloud::Gemserver::CLI::Error

Inherits:
Thor::Error
  • Object
show all
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

Constructor Details

#initialize(cli, message) ⇒ Error



36
37
38
# File 'lib/google/cloud/gemserver/cli.rb', line 36

def initialize cli, message
  super cli.set_color(message, :red)
end