Provide the user with a useful error message instead of outputting to the console.
Provide the user with a useful error message instead of outputting to the console.