Add utility methods to ctx, for example ctx.error that allow to show an error (ex. a parameter is required when used in combination with another) while staying in theme with the other errors. Maybe it could even then be used inside of the error_handler ext. to send the errors.
Add utility methods to ctx, for example
ctx.error
that allow to show an error (ex. a parameter is required when used in combination with another) while staying in theme with the other errors. Maybe it could even then be used inside of theerror_handler
ext. to send the errors.For reference: