From the Apigility documentation (Error Reporting):
The API Problem specification allows you to compose any other additional fields that you feel would help further clarify the problem and why it occurred. Apigility uses this fact to provide more information in several ways:
- Validation error messages are reported via a
validation_messages
key.- When the
display_exceptions
view configuration setting is enabled, stack traces are included viatrace
andexception_stack
properties.
I don't understand this part of the docu. What is the purpose and how to use the settings validation_messages
and display_exceptions
?