Graceful error handling with hints