We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b049f4 commit addb211Copy full SHA for addb211
core/errors.md
@@ -8,7 +8,8 @@ or in the format described in the [RFC 7807](https://tools.ietf.org/html/rfc7807
8
9
## Converting PHP Exceptions to HTTP Errors
10
11
-The framework also allows you configure the HTTP status code sent to the clients when custom exceptions are thrown.
+The framework also allows you to configure the HTTP status code sent to the clients when custom exceptions are thrown
12
+on an API Platform resource operation.
13
14
In the following example, we throw a domain exception from the business layer of the application and
15
configure API Platform to convert it to a `404 Not Found` error:
0 commit comments