Skip to content

Commit

Permalink
Merge pull request #57 from sebastiw/error-types
Browse files Browse the repository at this point in the history
Correct types
  • Loading branch information
tsloughter authored Nov 11, 2023
2 parents e04193d + cfa8a80 commit 1d044a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grpcbox_stream.erl
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@

-type t() :: #state{}.

-type grpc_status_message() :: unicode:unicode_binary().
-type grpc_status() :: 0..16.
-type grpc_status_message() :: unicode:chardata() | undefined.
-type grpc_status() :: binary() | undefined.
-type http_status() :: integer().
-type grpc_error() :: {unicode:unicode_binary(), % containing a grpc_status() value as text
grpc_status_message()}.
Expand Down

0 comments on commit 1d044a3

Please sign in to comment.