Sha256: 274f111b98a3b12e84e791eab2c572c04ba5557df1ec6a0d0685babff1ba8145
Contents?: true
Size: 918 Bytes
Versions: 4
Compression:
Stored size: 918 Bytes
Contents
module Chandler class GitHub Error = Class.new(StandardError) class InvalidRepository < Error def initialize(repository) @repository = repository end 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 end class NetrcAuthenticationFailure < Error def message "GitHub authentication failed.\n"\ "Check that ~/.netrc is properly configured.\n"\ "For instructions, see: "\ "https://github.com/octokit/octokit.rb#using-a-netrc-file" end end class TokenAuthenticationFailure < Error def message "GitHub authentication failed.\n"\ "Check that the CHANDLER_GITHUB_API_TOKEN environment variable "\ "is correct." end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
chandler-0.9.0 | lib/chandler/github/errors.rb |
chandler-0.8.0 | lib/chandler/github/errors.rb |
chandler-0.7.0 | lib/chandler/github/errors.rb |
chandler-0.6.0 | lib/chandler/github/errors.rb |