Comments (1)
I had investigated that thrown error code conversion for normal API endpoints happens in Server.rpc
method
Lines 266 to 273 in 79b00cb
Webhooks always return 500 Internal Server Error for all thrown exceptions as they processed in specific method Server.hook
Lines 344 to 350 in 79b00cb
Possible conversion of the error message to be responded to client happens in Transport.error
based on discovered httpCode
Lines 100 to 103 in 79b00cb
Note that method used to send both: domain errors and thrown exceptions.
from metacom.
Related Issues (20)
- New class structure HOT 2
- Remove `window` dependency for enhanced platform compatibility
- Custom packet type for plugin system
- Fix eslint warnings HOT 1
- Extract protocol serialization/deserialization and expose it
- Decompose Client and Transport
- Invalid event packets handling on client (server) HOT 1
- Log HTTP 200
- Move semaphore from metacom to impress
- Reorganize network connectivity tracking HOT 3
- Implement websocket without dependencies
- Use nodejs 21 websocket client
- Refactor frame parsing
- Refactor websocket server interface
- Add websocket server test HOT 1
- Move from ws to custom solution
- Sessions restoring HOT 1
- Code duplication in rpc and hook
- Stream does not end HOT 2
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 metacom.