Skip to content

Commit d8f9b70

Browse files
committed
minor #12429 Update exception message | options_resolver.rst (atailouloute)
This PR was merged into the 3.4 branch. Discussion ---------- Update exception message | options_resolver.rst The message is not up to date with the code. Commits ------- ed9c39e Update exception message | options_resolver.rst
2 parents 3e5bd90 + ed9c39e commit d8f9b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/options_resolver.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ is thrown::
382382
'transport' => 'send-mail',
383383
]);
384384

385-
// InvalidOptionsException: The option "transport" has the value
386-
// "send-mail", but is expected to be one of "sendmail", "mail", "smtp"
385+
// InvalidOptionsException: The option "transport" with value "send-mail"
386+
// is invalid. Accepted values are: "sendmail", "mail", "smtp"
387387

388388
For options with more complicated validation schemes, pass a closure which
389389
returns ``true`` for acceptable values and ``false`` for invalid values::

0 commit comments

Comments
 (0)