异常管理¶
Error message.
CG errors.
-
exception
rayvision_utils.exception.exception.AnalyseFailError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorAnalyse Fail Error.
-
exception
rayvision_utils.exception.exception.AnalyzeError¶ 基类:
ExceptionAnalyze has a damage error.
-
exception
rayvision_utils.exception.exception.CGExeNotExistError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorNo errors in CG boot.
-
exception
rayvision_utils.exception.exception.CGFileNameIllegalError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorCG File Name Illegal Error.
-
exception
rayvision_utils.exception.exception.CGFileNotExistsError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorCG file does not exist error.
-
exception
rayvision_utils.exception.exception.CGFileZipFailError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorCG file compression failed error.
-
exception
rayvision_utils.exception.exception.CompressionFailedError¶ 基类:
ExceptionCompression failed error.
-
exception
rayvision_utils.exception.exception.DecompressionFailedError¶ 基类:
ExceptionUnzip failed error.
-
exception
rayvision_utils.exception.exception.FileNameContainsChineseError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorFile Name Contains Chinese Error.
-
exception
rayvision_utils.exception.exception.GetCGLocationError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorError getting CG local path.
-
exception
rayvision_utils.exception.exception.GetCGVersionError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorError getting CG version.
-
exception
rayvision_utils.exception.exception.GetRendererError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorGet renderer error.
-
exception
rayvision_utils.exception.exception.MaxDamageError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorMax has a damage error.
-
exception
rayvision_utils.exception.exception.MaxExeNotExistError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorThere are no errors in the Max startup file.
-
exception
rayvision_utils.exception.exception.MultiScatterAndVrayConfilictError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorMulti scatter and vray Confilict error.
-
exception
rayvision_utils.exception.exception.ProjectMaxVersionError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorProject Max version error.
-
exception
rayvision_utils.exception.exception.RayvisionAPIError(error_code, error, request)¶ 基类:
rayvision_utils.exception.exception.RayvisionErrorRaise RayVisionAPIError.
-
exception
rayvision_utils.exception.exception.RayvisionError(error_code, error, *args, **kwargs)¶ 基类:
ExceptionRaise RayvisionError if something wrong.
-
class
rayvision_utils.exception.exception.RayvisionHTTPErrorProcessor¶ 基类:
urllib.request.HTTPErrorProcessorProcess HTTP error responses.
Inherit HTTPErrorProcessor in urllib2.
-
http_response(request, response)¶ Override the http_response method of HTTPErrorProcessor.
Process the response,when it is a bad Request,the corresponding exception is reported.
参数: - request (urllib2.Request) -- Request object.
- response (opener.open) -- Response object.
返回: Abnormal response.
返回类型:
-
-
exception
rayvision_utils.exception.exception.RayvisonTaskIdError(error)¶ 基类:
rayvision_utils.exception.exception.RayvisionErrorRaise RayVisonTaskIdError.
-
exception
rayvision_utils.exception.exception.VersionNotMatchError¶ 基类:
rayvision_utils.exception.exception.AnalyzeErrorVersion not match error.
Handle tips messages and write them to tips.json.
-
class
rayvision_utils.exception.tips.TipsInfo(save_path=None)¶ 基类:
objectHandling errors encountered in the analysis.
-
add(key, *values)¶ Add tips message.
参数:
-
save_and_exit(path, exit_code=-1)¶ Save the prompt to the tips.json file and exit.
参数:
-