Exception: Google::Serverless::Exec::BadConfigFileFormat

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config_path) ⇒ BadConfigFileFormat

Returns a new instance of BadConfigFileFormat.



314
315
316
317
# File 'lib/google/serverless/exec.rb', line 314

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

Instance Attribute Details

#config_pathObject (readonly)

Returns the value of attribute config_path.



318
319
320
# File 'lib/google/serverless/exec.rb', line 318

def config_path
  @config_path
end