rescue_failures (Thor::Tasks::Merb::Gem)

    # File lib/generators/templates/application/common/merb_thor/ops.rb, line 38
          def rescue_failures(error = StandardError, prc = nil)
            begin
              yield
            rescue error => e
              if prc
                prc.call(e)
              else
                puts e.message
                puts e.backtrace
              end
              self.class.rollback_trans
            end
          end