Exception: SOULs::GcloudException

Inherits:
CLIException show all
Defined in:
lib/souls/cli/cli_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGcloudException

Returns a new instance of GcloudException.



24
25
26
27
28
29
# File 'lib/souls/cli/cli_exception.rb', line 24

def initialize
  message = "You either haven't created or don't have access to a GCP project. " \
  "Please create a GCP project with the same name as this app."
  super(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



22
23
24
# File 'lib/souls/cli/cli_exception.rb', line 22

def message
  @message
end