Exception: Git::Lint::Errors::SHA
- Defined in:
- lib/git/lint/errors/sha.rb
Overview
Categorizes commit SHA errors.
Instance Method Summary collapse
-
#initialize(sha) ⇒ SHA
constructor
A new instance of SHA.
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 |