Exception: Reivt::BaemptyException

Inherits:
IOError
  • Object
show all
Defined in:
lib/reivt/exception.rb

Overview

Custom errors for dealing with repos in revit

Author:

  • bwrnrclse

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Bare or Empty repo passed!') ⇒ BaemptyException

Returns a new instance of BaemptyException.



11
12
13
14
15
# File 'lib/reivt/exception.rb', line 11

def initialize(msg = 'Bare or Empty repo passed!')
  msg = "BaemptyException:\n" + msg + "\nVisit here for more info => " \
        'link.vaemoi.co/revitbaempty'
  super(msg)
end