You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/errors.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Errors Handling
2
2
3
-
API Platform comes with a powerful error system. It handles excepted (such as faulty JSON documents sent by the
3
+
API Platform comes with a powerful error system. It handles expected (such as faulty JSON documents sent by the
4
4
client or validation errors) as well as unexpected errors (PHP exceptions and errors).
5
5
API Platform automatically sends the appropriate HTTP status code to the client: `400` for expected errors, `500` for
6
6
unexpected ones. It also provides a description of the error in [the Hydra error format](http://www.hydra-cg.com/spec/latest/core/#description-of-http-status-codes-and-errors)
0 commit comments