Exception: Toys::Utils::GitCache::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Toys::Utils::GitCache::Error
- Defined in:
- lib/toys/utils/git_cache.rb
Overview
GitCache encountered a failure
Instance Attribute Summary collapse
-
#exec_result ⇒ Toys::Utils::Exec::Result
readonly
The result of a git command execution, or
nil
if this error was not due to a git command error.
Instance Method Summary collapse
-
#initialize(message, result) ⇒ Error
constructor
Create a GitCache::Error.
Constructor Details
#initialize(message, result) ⇒ Error
Create a GitCache::Error.
27 28 29 30 |
# File 'lib/toys/utils/git_cache.rb', line 27 def initialize(, result) super() @exec_result = result end |
Instance Attribute Details
#exec_result ⇒ Toys::Utils::Exec::Result (readonly)
Returns The result of a git command
execution, or nil
if this error was not due to a git command
error.
37 38 39 |
# File 'lib/toys/utils/git_cache.rb', line 37 def exec_result @exec_result end |