Exception: Silo::UndefinedRemoteError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/silo/errors.rb

Overview

Raised when trying to access a remote by name that has no been defined for the repository

See Also:

Author:

Since:

Instance Method Summary (collapse)

Constructor Details

- (UndefinedRemoteError) initialize(name)

Creates an instance of UndefinedRemoteError for the given name

Parameters:

  • name (String)

    The name of the undefined remote

Since:

  • 0.1.0



52
53
54
# File 'lib/silo/errors.rb', line 52

def initialize(name)
  super "No remote with name '#{name}' defined."
end