api-error-handling doc: typofix
Signed-off-by: Thomas Ackermann <th.acker@arcor.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
1f23cfe0ef
commit
39d5bef5c1
@ -58,7 +58,7 @@ to `die` or `error` as-is. For example:
|
|||||||
if (ref_transaction_commit(transaction, &err))
|
if (ref_transaction_commit(transaction, &err))
|
||||||
die("%s", err.buf);
|
die("%s", err.buf);
|
||||||
|
|
||||||
The 'err' parameter will be untouched if no error occured, so multiple
|
The 'err' parameter will be untouched if no error occurred, so multiple
|
||||||
function calls can be chained:
|
function calls can be chained:
|
||||||
|
|
||||||
t = ref_transaction_begin(&err);
|
t = ref_transaction_begin(&err);
|
||||||
|
Loading…
Reference in New Issue
Block a user