Exception: ConvenientService::Service::Plugins::HasJSendResultShortSyntax::Failure::Exceptions::BothArgsAndKwargsArePassed
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::Service::Plugins::HasJSendResultShortSyntax::Failure::Exceptions::BothArgsAndKwargsArePassed
- Defined in:
- lib/convenient_service/service/plugins/has_j_send_result_short_syntax/failure/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_without_arguments ⇒ void
This method returns an undefined value.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_short_syntax/failure/exceptions.rb', line 51 def initialize_without_arguments = <<~TEXT Both `args` and `kwargs` are passed to the `failure` method. Did you mean something like: failure("Helpful text") failure("Helpful text", :descriptive_code) failure(message: "Helpful text") failure(message: "Helpful text", code: :descriptive_code) TEXT initialize() end |