Add a handleError hook for MBBaseRequest.