Python3Script Xojo Plugin |
|
Python3Script.SetError Method
Use this method to raise a error.
shared SetError(
errorType
as Integer,
message
as String)
Parameters
- errorType
- Type of error to raise.
This must be one of the constants defined in PythonError3Types - message
- The error message to set
Remarks
Usually you will use this inside a Xojo function that has been exposed to Python.
See Also
Python3Script Class