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:



104
105
106
# File 'lib/berkshelf/errors.rb', line 104

def initialize(uri)
  @uri = uri
end

Instance Method Details

#to_sObject



108
109
110
# File 'lib/berkshelf/errors.rb', line 108

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