Function pkgcraft::error::pkgcraft_last_error
source · [−]Expand description
Get the most recent error message.
Returns NULL on nonexistence.
Safety
The caller is expected to free the error string using pkgcraft_str_free().