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