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 = " Both `args` and `kwargs` are passed to the `failure` method.\n\n Did you mean something like:\n\n failure(\"Helpful text\")\n failure(\"Helpful text\", :descriptive_code)\n\n failure(message: \"Helpful text\")\n failure(message: \"Helpful text\", code: :descriptive_code)\n TEXT\n\n initialize(message)\nend\n" |