Please also check the message, to make sure that the error is descriptive to the user.