Implement error handling logic