analysis_error.py¶
OpenMDAO custom error: AnalysisError.
-
exception
openmdao.core.analysis_error.
AnalysisError
(error, location=None, msginfo=None)[source]¶ Bases:
Exception
Analysis Error.
This exception indicates that a possibly recoverable numerical error occurred in an analysis code or a subsolver.
-
__init__
(error, location=None, msginfo=None)[source]¶ Initialize AnalysisError.
- Parameters
- errorstr
Error message.
- locationNone or inspect.currentframe()
inspect.currentframe of error being raised.
- msginfostr
Name of component that raise the AnalysisError.
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-