Exception: Berkshelf::InvalidGitURI

Inherits:
BerkshelfError show all
Defined in:
lib/berkshelf/errors.rb

Instance Method Summary collapse

Methods inherited from BerkshelfError

status_code

Constructor Details

#initialize(uri) ⇒ InvalidGitURI

Returns a new instance of InvalidGitURI.

Parameters:



91
92
93
# File 'lib/berkshelf/errors.rb', line 91

def initialize(uri)
  @uri = uri
end

Instance Method Details

#to_sObject



95
96
97
# File 'lib/berkshelf/errors.rb', line 95

def to_s
  "'#{@uri}' is not a valid Git URI"
end