Skip to content

Commit

Permalink
Merge pull request #54 from egobrain/fix-spec
Browse files Browse the repository at this point in the history
Fix dialyzer spec
  • Loading branch information
Evgeny Bob authored Dec 24, 2018
2 parents ee3dd9b + 00b7d68 commit fcb61ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/erllambda.erl
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
%%============================================================================
%%%---------------------------------------------------------------------------
-callback handle( Event :: map(), Context :: map() ) ->
ok | {ok, iolist() | map()} | {error, iolist()}.
ok | {ok, iodata() | map()} | {error, iodata()}.

%%============================================================================
%% API Functions
%%============================================================================
%%%---------------------------------------------------------------------------
-spec succeed(Value :: iolist() | map()) -> no_return().
-spec succeed(Value :: iodata() | map()) -> no_return().
%%%---------------------------------------------------------------------------
%% @doc Complete processing with success
%%
Expand All @@ -60,7 +60,7 @@ succeed( Format, Values ) ->


%%%---------------------------------------------------------------------------
-spec fail( Message :: iolist() ) -> no_return().
-spec fail( Message :: iodata() ) -> no_return().
%%%---------------------------------------------------------------------------
%% @doc Complete a processing with failure
%%
Expand All @@ -73,7 +73,7 @@ fail( Format, Values ) ->


%%%---------------------------------------------------------------------------
-spec message( Message :: iolist() ) -> ok.
-spec message( Message :: iodata() ) -> ok.
%%%---------------------------------------------------------------------------
%% @doc Send an informational message to be logged
%%
Expand All @@ -97,7 +97,7 @@ message( Format, Values ) ->


%%%---------------------------------------------------------------------------
-spec message_ctx( ReqId :: binary() | map(), Message :: iolist() ) -> ok.
-spec message_ctx( ReqId :: binary() | map(), Message :: iodata() ) -> ok.
%%%---------------------------------------------------------------------------
%% @doc Send an informational message to be logged
%%
Expand Down

0 comments on commit fcb61ae

Please sign in to comment.