Exception: V::ERROR

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

Direct Known Subclasses

ECLOSED, ENOOP, ENOTREPO, ENOTWTREE, EUNREV

Class Method Summary collapse

Class Method Details

.raise(*args) ⇒ Object

otherwise I get these stupid parenthesis warnings…



4
5
6
7
# File 'lib/v/errors.rb', line 4

def self.raise(*args)
  target = Thread === args.last ? args.pop : Kernel
  target.raise new(*args)
end