Class: Chandler::GitHub::InvalidRepository

Inherits:
Error
  • Object
show all
Defined in:
lib/chandler/github/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(repository) ⇒ InvalidRepository

Returns a new instance of InvalidRepository.



6
7
8
# File 'lib/chandler/github/errors.rb', line 6

def initialize(repository)
  @repository = repository
end

Instance Method Details

#messageObject



10
11
12
13
14
# File 'lib/chandler/github/errors.rb', line 10

def message
  "Failed to find GitHub repository: #{@repository}.\n"\
  "Verify you have permission to access it. Use the --github option to "\
  "specify a different repository."
end