Used extended error codes

This commit is contained in:
Maas-Maarten Zeeman
2022-05-19 21:26:40 +02:00
parent 77cea7e902
commit 2062ff5d1b
4 changed files with 194 additions and 15 deletions

View File

@@ -27,6 +27,8 @@
column_names/1,
column_decltypes/1,
bind_int/3,
interrupt/1
% set_update_hook/4,
% exec/4,
@@ -92,6 +94,11 @@ close(_Db) ->
prepare(_Connection, _Sql) ->
erlang:nif_error(nif_library_not_loaded).
bind_int(_Statement, _Index, _Value) ->
erlang:nif_error(nif_library_not_loaded).
% -spec set_update_hook((), pid(), pid()) -> ok | {error, _}.
%set_update_hook(_Db, _Ref, _Dest, _Pid) ->
% erlang:nif_error(nif_library_not_loaded).