Add a new method to throw a user error message.