Sha256: 49cce0e5d253971b24c00c45df3db0b42f46ddf0de542197412e6e0ab9becd99

Contents?: true

Size: 557 Bytes

Versions: 8

Compression:

Stored size: 557 Bytes

Contents

require 'riak/errors/base'

module Riak
  class TimeSeriesError < Error
    class SerializeComplexNumberError < TimeSeriesError
      def initialize
        super t('time_series.serialize_complex_number')
      end
    end

    class SerializeRationalNumberError < TimeSeriesError
      def initialize
        super t('time_series.serialize_rational_number')
      end
    end

    class SerializeBigIntegerError < TimeSeriesError
      def initialize(bignum)
        super t('time_series.serialize_big_integer', bignum: bignum)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
riak-client-2.6.0 lib/riak/errors/time_series.rb
riak-client-2.5.0 lib/riak/errors/time_series.rb
riak-client-2.4.1 lib/riak/errors/time_series.rb
riak-client-2.4.0 lib/riak/errors/time_series.rb
riak-client-2.4.0.pre1 lib/riak/errors/time_series.rb
riak-client-2.3.2 lib/riak/errors/time_series.rb
riak-client-2.3.1 lib/riak/errors/time_series.rb
riak-client-2.3.0 lib/riak/errors/time_series.rb