OmniGraph Node omni.graph.test.ComputeErrorPy¶
omni.graph.test.ComputeErrorPy Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.test |
Icon |
ogn/icons/omni.graph.test.ComputeErrorPy.svg |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Generate compute error (Python) |
__categories |
internal:test |
__language |
Python |
Generated Class Name |
OgnComputeErrorPyDatabase |
Python Module |
omni.graph.test |
omni.graph.test.ComputeErrorPy Description¶
Generates a customizable error during its compute(), for testing purposes. Python version.
omni.graph.test.ComputeErrorPy Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:dummyIn |
int |
0 |
Y |
Dummy value to be copied to the output. |
__default |
0 |
|||
inputs:failCompute |
bool |
False |
Y |
If true, the compute() call will return failure to the evaluator. |
__default |
false |
|||
inputs:message |
string |
Y |
Text of the error message. |
|
inputs:severity |
token |
none |
Y |
Severity of the error. ‘none’ disables the error. |
allowedTokens |
none,warning,error |
|||
__allowedTokens |
[“none”, “warning”, “error”] |
|||
__default |
“none” |
omni.graph.test.ComputeErrorPy Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:dummyOut |
int |
0 |
Y |
Value copied from ‘dummyIn’ |
__default |
0 |