异常管理¶
Error message.
CG errors.
-
exception
rayvision_utils.exception.exception.
AnalyseFailError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Analyse Fail Error.
-
exception
rayvision_utils.exception.exception.
AnalyzeError
¶ 基类:
Exception
Analyze has a damage error.
-
exception
rayvision_utils.exception.exception.
CGExeNotExistError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
No errors in CG boot.
-
exception
rayvision_utils.exception.exception.
CGFileNameIllegalError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
CG File Name Illegal Error.
-
exception
rayvision_utils.exception.exception.
CGFileNotExistsError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
CG file does not exist error.
-
exception
rayvision_utils.exception.exception.
CGFileZipFailError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
CG file compression failed error.
-
exception
rayvision_utils.exception.exception.
CompressionFailedError
¶ 基类:
Exception
Compression failed error.
-
exception
rayvision_utils.exception.exception.
DecompressionFailedError
¶ 基类:
Exception
Unzip failed error.
-
exception
rayvision_utils.exception.exception.
FileNameContainsChineseError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
File Name Contains Chinese Error.
-
exception
rayvision_utils.exception.exception.
GetCGLocationError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Error getting CG local path.
-
exception
rayvision_utils.exception.exception.
GetCGVersionError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Error getting CG version.
-
exception
rayvision_utils.exception.exception.
GetRendererError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Get renderer error.
-
exception
rayvision_utils.exception.exception.
MaxDamageError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Max has a damage error.
-
exception
rayvision_utils.exception.exception.
MaxExeNotExistError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
There are no errors in the Max startup file.
-
exception
rayvision_utils.exception.exception.
MultiScatterAndVrayConfilictError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Multi scatter and vray Confilict error.
-
exception
rayvision_utils.exception.exception.
ProjectMaxVersionError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Project Max version error.
-
exception
rayvision_utils.exception.exception.
RayvisionAPIError
(error_code, error, request)¶ 基类:
rayvision_utils.exception.exception.RayvisionError
Raise RayVisionAPIError.
-
exception
rayvision_utils.exception.exception.
RayvisionError
(error_code, error, *args, **kwargs)¶ 基类:
Exception
Raise RayvisionError if something wrong.
-
class
rayvision_utils.exception.exception.
RayvisionHTTPErrorProcessor
¶ 基类:
urllib.request.HTTPErrorProcessor
Process 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.RayvisionError
Raise RayVisonTaskIdError.
-
exception
rayvision_utils.exception.exception.
VersionNotMatchError
¶ 基类:
rayvision_utils.exception.exception.AnalyzeError
Version not match error.
Handle tips messages and write them to tips.json.
-
class
rayvision_utils.exception.tips.
TipsInfo
(save_path=None)¶ 基类:
object
Handling 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.
参数:
-