Hi Vyshak,
Let your RPC method return a string that is you error message
if the method returns void before -- an empty string means
everthing is okay. If the RPC method returns an object before, you
can add a field called errText or something to the returning
object.
Jeffrey