Closed speth closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 72.80%. Comparing base (
b2c0af5
) to head (eaae5d1
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changes proposed in this pull request
Add a static method
CanteraError::setStackTraceDepth
that can be used to add the top N C++ stack frames to the message of aCanteraError
. This can provide additional context on where certain errors are being thrown from.If applicable, provide an example illustrating new features this pull request is introducing
From Python, instantiate a
Solution
object where the YAML file specifies a negative temperature for the initial state:Now, the Python traceback is followed by the
CanteraError
message and the top of the C++ stack:Checklist
scons build
&scons test
) and unit tests address code coverage