Use more detailed error message if available.