Sha256: 525c1b50bcc4e9dc6bbb702e0e2a9ff25b878b788fe4231305beb8055ac363df

Contents?: true

Size: 795 Bytes

Versions: 21

Compression:

Stored size: 795 Bytes

Contents

# frozen_string_literal: true

module Karafka
  module Web
    # Karafka::Web related errors
    module Errors
      # Tracking related errors
      module Tracking
        # Raised when the a report is not valid for any reason
        # This should never happen and if you see this, please open an issue.
        ContractError = Class.new(::Karafka::Errors::BaseError)
      end

      # Ui related errors
      module Ui
        # Raised when we cannot display a given view.
        # This may mean, that request topic was not present or partition or a message.
        NotFoundError = Class.new(::Karafka::Errors::BaseError)

        # Raised whe a given feature is available for Pro but not pro used
        ProOnlyError = Class.new(::Karafka::Errors::BaseError)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
karafka-web-0.1.0 lib/karafka/web/errors.rb