Exception: ConvenientService::Service::Plugins::CanHaveFallbacks::Exceptions::FallbackResultIsNotOverridden
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::Service::Plugins::CanHaveFallbacks::Exceptions::FallbackResultIsNotOverridden
- Defined in:
- lib/convenient_service/service/plugins/can_have_fallbacks/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(service:, status:) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/convenient_service/service/plugins/can_have_fallbacks/exceptions.rb', line 9 def initialize_with_kwargs(service:, status:) = <<~TEXT Fallback#{enclose(status, " ")}result method (#fallback#{enclose(status, "_")}result) of `#{service.class}` is NOT overridden. NOTE: Make sure overridden `fallback#{enclose(status, "_")}result` returns `success` with reasonable "null" data. TEXT initialize() end |