Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

LJ Faults in xmlrpc [Aug. 23rd, 2002|10:46 am]
LiveJournal Client Discussions
So I have the following response. Is there a global list of faultcodes somewhere in the LJ docs? Or should I simply use the faultString and discard the faultCode?

<?xml version="1.0" encoding="UTF-8"?>

<value><string>Invalid username</string></value>



From: evan
2002-08-23 09:45 am (UTC)
I imagine it's the list at the top here:

But you may as well just use the error string unless you need to specifically know which error it is.
(Reply) (Thread)
[User Picture]From: mart
2002-08-24 05:01 am (UTC)

About the only use for the error codes is that you can present a different kind of message depending on what kind of error it is. The first digit tells you of the two special ranges of “Client Error” and “Server Error”.

(Reply) (Thread)