Issue 388: Improved error handling in HandlingResult.