output object is the output of a BRAHMS Python Process. The process should construct the output object anew on every call.
- This value will be used as the
<return code> of the native event.
- If the returned value is not the empty string, an exception will be raised with this message as content. This is the preferred way of raising an error, and generates a tidy message for the user. Raising an error in Python with the
raise statement also works, however, but generates traceback information that the user probably doesn't need to see.