Sha256: c8448faa7d7165e4eced07c5e7048c783d2d33d0423156d53295a84ca214bcd2

Contents?: true

Size: 378 Bytes

Versions: 24

Compression:

Stored size: 378 Bytes

Contents

module Taps
  class BaseError < StandardError
    attr_reader :original_backtrace

    def initialize(message, opts={})
      @original_backtrace = opts.delete(:backtrace)
      super(message)
    end
  end

  class NotImplemented < BaseError; end
  class DuplicatePrimaryKeyError < BaseError; end
  class CorruptedData < BaseError; end
  class InvalidData < BaseError; end
end

Version data entries

24 entries across 24 versions & 6 rubygems

Version Path
taps-0.3.17 lib/taps/errors.rb
taps-0.3.15 lib/taps/errors.rb
taps-jruby-0.3.14 lib/taps/errors.rb
taps-0.3.14 lib/taps/errors.rb