Comments (4)
使用unwrap好像只能去掉remote or network error[remote]: ,再用一次也去不掉biz error:
from kitex.
是在客户端处理吗?那biz error就是 err msg的一部分了,没办法通过unwrap来提取了。
from kitex.
请在 server 端使用 BizStatusError 来返回错误
from kitex.
详见:https://www.cloudwego.io/zh/docs/kitex/tutorials/basic-feature/bizstatuserr/
from kitex.
Related Issues (20)
- example_shop 案例使用proto替代thirft作为idl语言,最后接入etcd后运行代码报错 HOT 4
- Compilation Error: "undefined: serviceinfo.WithStreamingMode"
- 升级kitex后,自动生成的kitex_gen代码有错误 HOT 1
- Compilation Error: "expected pseudo-register; found R13"
- Add `-gen-path` support for protobuf HOT 3
- possible to support tls? HOT 3
- [Error] HERTZ: [Recovery] err=remote or network error: get connection error: dial tcp 127.0.0.1:8888: i/o timeout HOT 5
- Compilation Error: "does not contain package github.com/cloudwego/iasm/x86_64"
- Feature Proposal: UnknownMethodHandler for KitexThrift/KitexProtobuf requests HOT 3
- Feature Proposal: tracing.ServerMiddleware 同时支持 metainfo 和 metadata 协议读取 HOT 2
- Feature Proposal: Allow custom registry to get the actual address for registering HOT 3
- Feature Proposal: optionloader for Kitex client/server HOT 4
- Feature Proposal: kitexcall command for sending json generic requests HOT 5
- 客户端访问服务出现 cannot assign requested address HOT 5
- kitex自定义脚手架模板里想获得hello.thrift里namespace怎么获得 HOT 4
- kitex会考虑和wego一样模版内置sprig函数吗? HOT 1
- Remove Go version restrictions for newer versions HOT 5
- 请求帮助:kitex 单 Server 多 Service HOT 14
- 篡改自定义nacos注册信息 HOT 3
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 kitex.