Comments (1)
Dear @sevenjay , please take a look at custom exceptions here: https://json-rpc.readthedocs.org/en/latest/exceptions.html#json-rpc-exceptions
to define one, you would need to create custom exception class, inherited from jsonrpc.exceptions.JSONRPCDispatchException
. Check out this test as well: https://github.com/pavlov99/json-rpc/blob/master/jsonrpc/tests/test_jsonrpc_errors.py#L143-L149
from json-rpc.
Related Issues (20)
- Consider switching to CircleCI HOT 1
- pip install json-rpc breaks pyls installation HOT 3
- Django documentation params HOT 8
- json-rpc 1.0 requires 'result' and 'error' attributes in the HTTP responses
- Cors Header Missing ? HOT 1
- Feature proposal: Remote Method Invocation dispatcher HOT 1
- Can't an AsyncJSONRPCResponseManager be added? HOT 4
- Need a way to intercept exception to send http 401
- Unreachable OpenRPC rpc.discover method HOT 1
- ĺ źĺŽš django 4.0 HOT 2
- JSONRPCResponseManager.handle silences the exception if "id" is not passed
- Missing git tags for 1.14.0 and 1.15.0 releases
- Add names for django's views HOT 3
- License file in pypi archive HOT 5
- Link to implementations on project page is useless
- Uart as a transport layer HOT 1
- Server issued notifications HOT 2
- Using SELF in class methods when using JSON-RPC as a class HOT 2
- `make env` fails without requirements-dev.txt HOT 1
- How to deploy on production server? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-rpc.