报错格式如下,占位符%s分别表示操作任务、报错原因:
Failed to %s because %s is not supported.
报错示例如下:
Failed to set the Inf/NaN mode because only the saturation mode can be set,the Inf/NaN mode is not supported.
根据报错提示调整代码逻辑。