class Toys::Utils::GitCache::Error

GitCache encountered a failure

Attributes

exec_result[R]

@return [Toys::Utils::Exec::Result] The result of a git command

execution, or `nil` if this error was not due to a git command
error.

Public Class Methods

new(message, result) click to toggle source

Create a GitCache::Error.

@param message [String] The error message @param result [Toys::Utils::Exec::Result] The result of a git

command execution, or `nil` if this error was not due to a git
command error.
Calls superclass method
# File lib/toys/utils/git_cache.rb, line 32
def initialize(message, result)
  super(message)
  @exec_result = result
end