fastblogs's People
fastblogs's Issues
错误信息获取
目前当用户名和密码有一个错误时,会报错fault response contains struct value with missing non-optional members: FaultCode FaultString [fault response : struct mapped to type Fault]”
,这样获取不到真正的错误提示,比如当使用http
发送post
请求,请求用户名的信息的时候,如果有错误会提示下面的信息,有明确的提示信息,目前我通过代理调用时,不知道如何优雅的获取到真正的错误信息,如果有人知道,请教一下,万分感谢
<?xml version="1.0"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value>
<i4>500</i4>
</value>
</member>
<member>
<name>faultString</name>
<value>
<string>! wrong username/password</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>
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.