Issue #14 resolved

When JsonRpcExpcetion is raised, set rpc_id on it

Sunil Mohan Adapa
created an issue

When an application wants to raise a JsonRpcException, there is no way to set the rpc_id in the exception because it is not known to the application. It is the duty of the jsonrpc2 module to set it properly. The change in attached patch fixes the issue.

Raising JsonRpcException would not have been required if the normal applications exceptions are not thrown as internal errors as described in issue #13.

Comments (1)

  1. Log in to comment