Exception: Google::Serverless::Exec::ConfigFileNotFound

Inherits:
UsageError
  • Object
show all
Defined in:
lib/google/serverless/exec.rb

Overview

Exception raised when the App Engine config file could not be found.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config_path) ⇒ ConfigFileNotFound

Returns a new instance of ConfigFileNotFound.



303
304
305
306
# File 'lib/google/serverless/exec.rb', line 303

def initialize config_path
  @config_path = config_path
  super "Config file #{config_path} not found."
end

Instance Attribute Details

#config_pathObject (readonly)

Returns the value of attribute config_path.



307
308
309
# File 'lib/google/serverless/exec.rb', line 307

def config_path
  @config_path
end