summaryrefslogtreecommitdiff
path: root/docs/beep-beep/http-error-codes.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/beep-beep/http-error-codes.md')
-rw-r--r--docs/beep-beep/http-error-codes.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/beep-beep/http-error-codes.md b/docs/beep-beep/http-error-codes.md
deleted file mode 100644
index 381c5d77..00000000
--- a/docs/beep-beep/http-error-codes.md
+++ /dev/null
@@ -1,12 +0,0 @@
-### Overriding HTTP default error code
-
-```yaml
-http:
- # override http error code for the application errors (default 500)
- appErrorCode: 505
- # override http error code for the internal RR errors (default 500)
- internalErrorCode: 505
-```
-
-By default, `http.InternalServerError` code is used, but, for the load balancer might be better to use different code [Feature Request](https://github.com/spiral/roadrunner/issues/471).
-These 2 options allow overriding default error code (500) for the internal errors such as `ErrNoPoolAttached` and application error from the PHP. \ No newline at end of file