Exception: Git::Lint::Errors::SHA

Inherits:
Base
  • Object
show all
Defined in:
lib/git/lint/errors/sha.rb

Overview

Categorizes commit SHA errors.

Instance Method Summary collapse

Constructor Details

#initialize(sha) ⇒ SHA

Returns a new instance of SHA.



8
9
10
# File 'lib/git/lint/errors/sha.rb', line 8

def initialize sha
  super %(Invalid commit SHA: "#{sha}". Unable to obtain commit details.)
end