onError property
Where a failure of the call goes. An argument field passed to the function that cannot be honoured does not come here, it throws at the call
A corrupted or truncated archive reaches this with throwOnError, and
failed block check only with throwOnError and verify
Implementation
final void Function(Object error, StackTrace stackTrace)? onError;