Sha256: 521a14e49dd459ba514728cbd93c8d47aa046b6e0ecb3c68c1a5e7b2170e43df

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

module Couchbase
  module Error
    class Base < Exception
      attr_accessor :cas, :error, :inner_exception, :key, :operation, :status

      def to_s
        if inner_exception
          inner_exception.to_s
        else
          super
        end
      end
    end

    class Connect < Base
    end

    class Auth < Base
    end

    class Connect < Base
    end

    class NotFound < Base
    end

    class Invalid < Base
    end

    class KeyExists < Base
    end

    class ValueFormat < Base
    end

    class TemporaryFail < Base
    end

    class NotStored < Base
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couchbase-jruby-client-0.1.1 lib/couchbase/error.rb