Sha256: a11685924a02fb8d5ae38c0ae005f3dd0ce5dcf15a8a1e177b26c349b1b9c4b3

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

module Findr

  # Class for wrapping original exceptions, which could be from Iconv (Ruby 1.8)
  # or String (Ruby >=1.9).
  # ()
  class Error < ::StandardError
    attr_reader :original
    def initialize(msg, original=$!)
      super(msg)
      @original = original;
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
findr-0.0.8.pre3 lib/findr/error.rb
findr-0.0.8.pre2 lib/findr/error.rb
findr-0.0.8.pre1 lib/findr/error.rb
findr-0.0.7 lib/findr/error.rb