Exception: Pod4::WeakError

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

Overview

Raised by an interface if it would like Model to stop and create an Alert, but not actually fall over in any way.

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ WeakError

Returns a new instance of WeakError.



71
72
73
# File 'lib/pod4/errors.rb', line 71

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