Module: Karafka::Testing::Errors
- Defined in:
- lib/karafka/testing/errors.rb
Overview
Errors that can be raised by this lib
Constant Summary collapse
- BaseError =
Base error for all the internal errors
Class.new(StandardError)
- TopicNotFoundError =
Raised when we want to build a consumer for a topic that does not exist
Class.new(BaseError)
- TopicInManyConsumerGroupsError =
Raised when topic is in many consumer groups and not limited by consumer group expectation
Class.new(BaseError)
- ConsumerGroupNotFoundError =
Raised when you requested a topic from a consumer group that does not exist
Class.new(BaseError)
- KarafkaNotLoadedError =
Raised when trying to use testing without Karafka app being visible If you are seeing this error, then you tried to use testing helpers without Karafka being loaded prior to this happening.
Class.new(BaseError)
- KarafkaNotInitializedError =
Raised when there is an attempt to use the testing primitives without Karafka app being configured. Prior to initialization process, most of config values are nils, etc and mocks will not work.
Class.new(BaseError)