Sha256: 8112c4bc8436653757b63a1f89ec882b3c7ef22460431e2121a764e22cd3f5ae

Contents?: true

Size: 350 Bytes

Versions: 14

Compression:

Stored size: 350 Bytes

Contents

module MessageStore
  module Postgres
    module Get
      module Condition
        Error = Class.new(RuntimeError)

        def self.error(error_message)
          if error_message.start_with?('Retrieval with SQL condition is not activated')
            Get::Condition::Error.new(error_message)
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
evt-message_store-postgres-2.5.1.1 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.5.1.0 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.5.0.0 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.4.0 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.3.0 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.2.0 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.1.0 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.0.5 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.0.4 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.0.3 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.0.2 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.0.1 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.4.0.0 lib/message_store/postgres/get/condition.rb
evt-message_store-postgres-2.3.0.0 lib/message_store/postgres/get/condition.rb