Exception: KubeMQ::ConfigurationError
- Defined in:
- lib/kubemq/errors.rb
Overview
Raised when the client configuration is invalid.
Covers missing or malformed address, invalid TLS paths, and conflicting options. Not retryable — fix the configuration before creating a new client.
Instance Attribute Summary
Attributes inherited from Error
#channel, #code, #details, #operation, #request_id, #suggestion
Instance Method Summary collapse
-
#initialize(message, **kwargs) ⇒ ConfigurationError
constructor
A new instance of ConfigurationError.
Methods inherited from Error
Constructor Details
#initialize(message, **kwargs) ⇒ ConfigurationError
Returns a new instance of ConfigurationError.
157 158 159 160 161 |
# File 'lib/kubemq/errors.rb', line 157 def initialize(, **kwargs) kwargs[:code] ||= ErrorCode::CONFIGURATION_ERROR kwargs[:retryable] = false unless kwargs.key?(:retryable) super end |