Implemented Callbacks for Errors