Sha256: 4fb21c5e5f5c1e860045b78a2824214bfe94a113c9a72de891b5bbeabdf5457e

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

require 'luna_park/errors/system'
require 'luna_park/errors/business'

module CycloneLariat
  module Errors
    class TopicNotFound < LunaPark::Errors::System
      message { |d| "Could not found topic: `#{d[:expected_topic]}`" }
    end

    class ProcessingEventLogic < LunaPark::Errors::Business
      attr_writer :message, :details

      def ==(other)
        other.is_a?(LunaPark::Errors::Business) &&
          other.message == message &&
          other.details == details
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cyclone_lariat-0.2.1 lib/cyclone_lariat/errors.rb