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:) = " Fallback \#{status} result method (#fallback_\#{status}_result) of `\#{service.class}` is NOT overridden.\n\n NOTE: Make sure overridden `fallback_\#{status}_result` returns `success` with reasonable \"null\" data.\n TEXT\n\n initialize(message)\nend\n" |