Prevent the user from moving into a bad object.
Format error_handler.