Exception: LibPath::Exceptions::LibPathBaseException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/libpath/exceptions/libpath_base_exception.rb

Overview

Root exception for all LibPath exceptions

NOTE: this class is abstract

Direct Known Subclasses

MalformedNameException

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

# TODO include Xqsr3’s WithCause

Raises:

  • (NoMethodError)


64
65
66
67
68
69
# File 'lib/libpath/exceptions/libpath_base_exception.rb', line 64

def self.new *args

	raise NoMethodError, "private method `new' called for #{self}:Class" if self == LibPathBaseException

	super
end