throwOnError
fn
void throwOnError(dar_err e) @safeThrows a DarException if e.code != DAR_OK.
fn
void throwOnError(dar_err e, string operation) @safeThrows a DarException enriched with operation name.
fn
void throwOnError(dar_err e, string operation, string path, string base, string ext) @safeThrows a DarException enriched with archive coordinates.
fn
void throwOnError(dar_err e, string operation, string filePath) @safeThrows a DarException enriched with a related filesystem path.
fn
void throwOnError(dar_err e, string operation, string path, string base, string ext, string filePath) @safeThrows a DarException enriched with both archive coordinates and a filesystem path.