A simple blocks based recovery object that you can use to take an error and add a recovery method. Recovery methods are blocks passed in
LHErrorRecovery *recovery=[LHErrorRecovery new];
__block BOOL cont=FALSE;
[recovery addRecoveryButton:@"Stop Syncing" action:^{
}];
[recovery addRecoveryButton:@"Continue Syncing" action:^{
cont=TRUE;
}];
[[NSApplication sharedApplication] presentError:[recovery errorForError:aError]];
if (!cont)
cancelSync=TRUE;
[recovery release]