I have a button x:Name="Start". When I click it OnError is invoked three times:
public bool OnError(Exception ex)
{
AppendLog(ex.Message);
return false;
}
[Rescue("OnError")]
public IEnumerable<IResult> Start()
{
yield return new DelegateResult(callback => callback(new InvalidOperationException("Horrible error")));
}
DelegateResult is same as in
http://caliburn.codeplex.com/workitem/8397