Sha256: 33467290eb773bb777374a892499a585a9e0792ab7c5652adac3ad14f09f9eec
Contents?: true
Size: 440 Bytes
Versions: 4
Compression:
Stored size: 440 Bytes
Contents
class GitRoot # # Catch all - something bad happened but we don't know what # class UnknownError < StandardError def initialize(msg = 'Something bad happen!') super end end # # User supplied an invalid token (instead of a missing token) # class InvalidRepoError < StandardError def initialize(msg = 'Invalid git repository') super end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
git-root-0.1.3 | lib/git-root/errors.rb |
git-root-0.1.2 | lib/git-root/errors.rb |
git-root-0.1.1 | lib/git-root/errors.rb |
git-root-0.1.0 | lib/git-root/errors.rb |