update BadRequestError to include errors as exception msg