throwOnError

fnvoid throwOnError(dar_err e) @safe

Throws a DarException if e.code != DAR_OK.

fnvoid throwOnError(dar_err e, string operation) @safe

Throws a DarException enriched with operation name.

fnvoid throwOnError(dar_err e, string operation, string path, string base, string ext) @safe

Throws a DarException enriched with archive coordinates.

fnvoid throwOnError(dar_err e, string operation, string filePath) @safe

Throws a DarException enriched with a related filesystem path.

fnvoid throwOnError(dar_err e, string operation, string path, string base, string ext, string filePath) @safe

Throws a DarException enriched with both archive coordinates and a filesystem path.