make sentinel package return error and not *ClientError