The Bridge provides two error functions, getError() Function and getErrors() Function, which can be used for handling errors. For more details on error handling in general, see Modeling Error Handling.
Figure: Error Class
Example File (Builder project Basic Modeling/ErrorHandling): ErrorHandling.zip
<your example path>\Basic Modeling\ErrorHandling\uml\errorHandling.xml