Exception: Textrepo::UnknownRepoTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/textrepo/error.rb

Overview

An error raised if unknown type was specified as the repository type.

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ UnknownRepoTypeError

Returns a new instance of UnknownRepoTypeError.



50
51
52
# File 'lib/textrepo/error.rb', line 50

def initialize(type)
  super(ErrMsg::UNKNOWN_REPO_TYPE % type)
end