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.6.3 lib/karafka/web/errors.rb
karafka-web-0.6.2 lib/karafka/web/errors.rb
karafka-web-0.6.1 lib/karafka/web/errors.rb
karafka-web-0.6.0 lib/karafka/web/errors.rb
karafka-web-0.5.2 lib/karafka/web/errors.rb
karafka-web-0.5.1 lib/karafka/web/errors.rb
karafka-web-0.5.0 lib/karafka/web/errors.rb
karafka-web-0.4.1 lib/karafka/web/errors.rb
karafka-web-0.4.0 lib/karafka/web/errors.rb
karafka-web-0.3.1 lib/karafka/web/errors.rb
karafka-web-0.3.0 lib/karafka/web/errors.rb
karafka-web-0.2.5 lib/karafka/web/errors.rb
karafka-web-0.2.4 lib/karafka/web/errors.rb
karafka-web-0.2.3 lib/karafka/web/errors.rb
karafka-web-0.2.2 lib/karafka/web/errors.rb
karafka-web-0.2.1 lib/karafka/web/errors.rb
karafka-web-0.2.0 lib/karafka/web/errors.rb
karafka-web-0.1.3 lib/karafka/web/errors.rb
karafka-web-0.1.2 lib/karafka/web/errors.rb
karafka-web-0.1.1 lib/karafka/web/errors.rb