#[unsafe(no_mangle)]pub unsafe extern "C" fn tx_document_error(
doc: *const TxDocument,
) -> TxErrorExpand description
Returns the current error code of the document.
Returns TxError::TxSuccess if no error has occurred.
ยงSafety
doc must be a valid, non-null pointer to a TxDocument.