module MessageStore::Postgres::Get::Category::Correlation

Constants

Error

Public Class Methods

error(error_message) click to toggle source
# File lib/message_store/postgres/get/category/correlation.rb, line 8
def self.error(error_message)
  if error_message.start_with?('Correlation must be a category')
    Error.new(error_message)
  end
end