error_keys
error_keys
Set error keys on the most recently added webhook, or at the top level if no webhooks exist. If any of these keys appear in the API response, the response is treated as an error.
To always set keys at the top level regardless of webhook context, use
global_error_keys().
Parameters
keys
List of JSON keys whose presence indicates an error.
Returns
DataMap — Self for method chaining.