Sha256: dc1c6d1518a923566af1fcadbfc854b216ccae2c4b01442d1cf5633ac39a1cf4

Contents?: true

Size: 427 Bytes

Versions: 18

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

module Paquito
  Error = Class.new(StandardError)

  class PackError < Error
    attr_reader :receiver

    def initialize(msg, receiver = nil)
      super(msg)
      @receiver = receiver
    end
  end

  UnpackError = Class.new(Error)
  ClassMissingError = Class.new(Error)
  UnsupportedType = Class.new(Error)
  UnsupportedCodec = Class.new(Error)
  VersionMismatchError = Class.new(Error)
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
paquito-0.11.2 lib/paquito/errors.rb
paquito-0.11.1 lib/paquito/errors.rb
paquito-0.11.0 lib/paquito/errors.rb
paquito-0.10.0 lib/paquito/errors.rb
paquito-0.9.2 lib/paquito/errors.rb
paquito-0.9.1 lib/paquito/errors.rb
paquito-0.9.0 lib/paquito/errors.rb
paquito-0.8.0 lib/paquito/errors.rb
paquito-0.7.0 lib/paquito/errors.rb
paquito-0.6.2 lib/paquito/errors.rb
paquito-0.6.1 lib/paquito/errors.rb
paquito-0.6.0 lib/paquito/errors.rb
paquito-0.5.0 lib/paquito/errors.rb
paquito-0.4.0 lib/paquito/errors.rb
paquito-0.3.1 lib/paquito/errors.rb
paquito-0.3.0 lib/paquito/errors.rb
paquito-0.2.1 lib/paquito/errors.rb
paquito-0.2.0 lib/paquito/errors.rb