How to pass UserError or UserWarning by RPC

Hi,

I’m trying to use RPC call on tryton, but the docs I find is a little short. So, I would like to know how to receive RPC call on a custom app. So, I’m not sure if I can receive UserError too.

Thanks in advance!

The errors follows the RPC protocol so for XML-RPC it is a fault tag and for JSON-RPC the error key is filled.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.