Exception: Pod4::CantContinue

Inherits:
Pod4Error
  • Object
show all
Defined in:
lib/pod4/errors.rb

Overview

Raised if a Pod4 method runs into problems

Note, invalid parameters get a Ruby ArgumentError. This is for, eg, an interface finding that the ID it was given to read does not exist.

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ CantContinue

Returns a new instance of CantContinue.



57
58
59
# File 'lib/pod4/errors.rb', line 57

def initialize(msg=nil)
  super(msg || $! && $!.message)
end