Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

Commit

Permalink
Merge pull request #5 from MiniclipPortugal/guilherme/fix/dialyzing_d…
Browse files Browse the repository at this point in the history
…db2_calls_with_erlang_19

Improve Erlang 19's Dialyzer results for erlcloud_ddb2
  • Loading branch information
lrascao authored May 25, 2017
2 parents 988528d + 479fc8a commit 3fe1591
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/erlcloud_ddb2.hrl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
-record(ddb2_error,
{attempt :: pos_integer(),
error_type :: ddb | http | httpc,
should_retry :: boolean(),
reason :: term(),
request_headers :: [{string(), string()}],
request_body :: jsx:json_text(),
response_status :: pos_integer(),
response_status_line :: string(),
response_headers :: [{string(), string()}],
response_body :: binary()
{attempt :: undefined | pos_integer(),
error_type :: undefined | ddb | http | httpc,
should_retry :: undefined | boolean(),
reason :: undefined | term(),
request_headers :: undefined | [{string(), string()}],
request_body :: undefined | jsx:json_text(),
response_status :: undefined | pos_integer(),
response_status_line :: undefined | string(),
response_headers :: undefined | [{string(), string()}],
response_body :: undefined | binary()
}).

-type date_time() :: number().
Expand Down

0 comments on commit 3fe1591

Please sign in to comment.