Exception: Pod4::Pod4Error

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

Overview

Base error class for Swingshift

Also used for any configuration errors where ArgumentError is not appropriate.

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ Pod4Error

Returns a new instance of Pod4Error.



23
24
25
26
# File 'lib/pod4/errors.rb', line 23

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