Closed zkwbbr closed 4 years ago
why not just extend it and use your own?
@delboy1978uk Yeah I ended up using ApplicationStrategy
instead and customizing from there.
The base strategies exist only as a starting point and to make it easy for them to be extended with a custom strategy. For example, with the JsonStrategy, I will usually extend that and overload the error handlers for my specific use, but everything else can just pass through
Say you have an undefined variable in your controller handler: e.g.,
$foo['bar'];
Currently when you run this using
JSON strategy
, you'll get something like this:Is there a way for this error message to give more details? E.g., what line number or file the error happens?