颤振上的无效身份验证错误处理

时间:2021-03-18 02:16:17

标签: asp.net flutter

嗨,我正在尝试从我的 Flutter 应用程序中抛出一条验证消息,但它显示的是这种消息..

{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"Bad Request","status":400,"traceId":"00-e2aed039d05bcb4398dfb4841b974a67-efaf7fa1bd2be848-00"}

在我的 web api 中应该是这样的...

throw new MobileException("Account is not enrolled in the system, please register a new one");

0 个答案:

没有答案