Support for a delegate to capture errors
Support for a delegate to capture errors