Skip to content

Commit 9c95948

Browse files
committed
Merge pull request #13 from hairyhum/master
Dialyzer friendly errors
2 parents 24b65a2 + 37de4f6 commit 9c95948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jsonx.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,4 @@ init() ->
233233
[error, big_num, invalid_string, invalid_json, trailing_data, undefined_record]]).
234234

235235
not_loaded(Line) ->
236-
exit({not_loaded, [{module, ?MODULE}, {line, Line}]}).
236+
erlang:nif_error({not_loaded, [{module, ?MODULE}, {line, Line}]}).

0 commit comments

Comments
 (0)