Fixed dialyzer warnings

This commit is contained in:
Maas-Maarten Zeeman
2022-05-28 22:42:03 +02:00
parent 887e91b1de
commit 1d9e9ee696
3 changed files with 25 additions and 11 deletions

View File

@@ -106,7 +106,7 @@ error_info(_Db) ->
-spec set_update_hook(Connection, Pid) -> Result
when Connection :: esqlite3(),
Pid :: pid(),
Result :: ok | {error, _}.
Result :: ok | {error, closed}.
set_update_hook(_Db, _Pid) ->
erlang:nif_error(nif_library_not_loaded).