aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/middlewares.ezdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/guide/middlewares.ezdoc')
-rw-r--r--doc/src/guide/middlewares.ezdoc1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/src/guide/middlewares.ezdoc b/doc/src/guide/middlewares.ezdoc
index e33abfb..0c142f9 100644
--- a/doc/src/guide/middlewares.ezdoc
+++ b/doc/src/guide/middlewares.ezdoc
@@ -24,7 +24,6 @@ Middlewares can return one of four different values:
* `{ok, Req, Env}` to continue the request processing
* `{suspend, Module, Function, Args}` to hibernate
* `{halt, Req}` to stop processing and move on to the next request
-* `{error, StatusCode, Req}` to reply an error and close the socket
Of note is that when hibernating, processing will resume on the given
MFA, discarding all previous stacktrace. Make sure you keep the `Req`