Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»
titus.genpy.tryCatch
¶
titus.genpy.
tryCatch
(
state
,
scope
,
exprs
,
filter
)
[source]
¶
Helper function for try-catch logic as an expression.
Parameters:
state
(
titus.genpy.ExecutionState
) – exeuction state
scope
(
titus.util.DynamicScope
) – dynamic scope object
exprs
(
callable
) – function called within a try-except guard
filter
(
None
or list of strings and integers) – if the exception message is
None
or one of these strings, absorb the exception
Return type:
None
Returns:
nothing or re-raises the exception
Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»