Exception: ConvenientService::Service::Plugins::HasJSendResultShortSyntax::Exceptions::MoreThanTwoArgsArePassed
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::Service::Plugins::HasJSendResultShortSyntax::Exceptions::MoreThanTwoArgsArePassed
- Defined in:
- lib/convenient_service/service/plugins/has_j_send_result_short_syntax/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(status:) ⇒ void
This method returns an undefined value.
79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_short_syntax/exceptions.rb', line 79 def initialize_with_kwargs(status:) = <<~TEXT More than two `args` are passed to the `#{status}` method. Did you mean something like: #{status}("Helpful text") #{status}("Helpful text", :descriptive_code) TEXT initialize() end |