You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The message is printed with the same severity as something like No bodyParameters() method found.... I think it would be appropriate to print it in red.
Add one or more configuration options for how these errors should be handled. Options could be something like:
a. warn: (default, same as current behavior)
b. dump: dump the exception to console, but continue execution
c. fail: dump the exception to console, and abort with an exit code
Scribe version
4.38.0
Your question
Motivation
If a model generation strategy fails, a warning is printed in the console:
scribe:generate
with xdebug, while having a breakpoint atscribe/src/Extracting/InstantiatesExampleModels.php
Line 56 in cb4c2e5
Suggestions
No bodyParameters() method found...
. I think it would be appropriate to print it in red.a.
warn
: (default, same as current behavior)b.
dump
: dump the exception to console, but continue executionc.
fail
: dump the exception to console, and abort with an exit codeDocs
The text was updated successfully, but these errors were encountered: