diff options
Diffstat (limited to 'src/cowboy_stream.erl')
-rw-r--r-- | src/cowboy_stream.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_stream.erl b/src/cowboy_stream.erl index f360a08..a44d3ae 100644 --- a/src/cowboy_stream.erl +++ b/src/cowboy_stream.erl @@ -42,7 +42,7 @@ | stop]. -export_type([commands/0]). --type reason() :: normal +-type reason() :: normal | switch_protocol | {internal_error, timeout | {error | exit | throw, any()}, human_reason()} | {socket_error, closed | atom(), human_reason()} | {stream_error, cow_http2:error(), human_reason()} |