Exception: Metior::UnsupportedError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/metior/errors.rb

Overview

This error is raised when an operation is not supported by the currently used VCS (or its implementation)

Instance Method Summary collapse

Constructor Details

#initialize(vcs) ⇒ UnsupportedError

Creates a new instance of this error



13
14
15
# File 'lib/metior/errors.rb', line 13

def initialize(vcs)
  super 'Operation not supported by the current VCS (:%s).' % vcs::NAME
end