aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_stream.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_stream.erl')
-rw-r--r--src/cowboy_stream.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_stream.erl b/src/cowboy_stream.erl
index 79e4357..6680bdc 100644
--- a/src/cowboy_stream.erl
+++ b/src/cowboy_stream.erl
@@ -49,6 +49,7 @@
-type reason() :: normal | switch_protocol
| {internal_error, timeout | {error | exit | throw, any()}, human_reason()}
| {socket_error, closed | atom(), human_reason()}
+ %% @todo Or cow_http3:error().
| {stream_error, cow_http2:error(), human_reason()}
| {connection_error, cow_http2:error(), human_reason()}
| {stop, cow_http2:frame() | {exit, any()}, human_reason()}.