continuable

Continuable is a gem that helps you resuming execution flow after rescuing exceptions.

Usage

Installation

add to your Gemfile :

gem 'continuable'

Defining a continuable exception

class ContinuableException < Exception
  ...
  include Continuable
  ...
end

Throwing a continuable exception on the fly

...
raise_continuable Exception.new
...

Resuming an exception

rescue Exception => ex
  ex.continue
 end

== Copyright

Copyright (c) 2013 Mario Caropreso. See LICENSE.txt for further details.