Class.new(RuntimeError)
7 8 9 10 11
# File 'lib/message_store/postgres/get/condition.rb', line 7 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