Error handling
Function to raise errors in Python. |
|
This is a general error, which is raised if the error message is not yet integrated into the known errors of function |
- exception pyroSAR.gamma.error.GammaUnknownError(errormessage)[source]
Bases:
ExceptionThis is a general error, which is raised if the error message is not yet integrated into the known errors of function
gammaErrorHandler(). If this error occurs, the message should be included in this function.
- pyroSAR.gamma.error.gammaErrorHandler(returncode, out, err)[source]
Function to raise errors in Python. This function is not intended for direct use but as part of function
pyroSAR.gamma.auxil.process().- Parameters:
returncode (
int) – the subprocess return codeout (
str) – the stdout message returned by a subprocess call of a gamma commanderr (
str) – the stderr message returned by a subprocess call of a gamma commandRaises (IOError | ValueError | RuntimeError)
- Return type: