fault element
Type: | RESTFault |
Namespace: | http://filecatalyst.com/fault |
XML Schema: | fault.xsd |
This holds return error data { "fault": { "code": { "value": "Sender", "subcode": { "value": "InternalError" } }, "reason": { "text": "Internal Error Detected." } }
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<fault xmlns="http://filecatalyst.com/fault">
<code xmlns="">
<status>...</status>
<subcode>
<value>...</value>
</subcode>
</code>
<reason xmlns="">
<text>...</text>
</reason>
</fault>
Example JSON
{
"code" : {
"status" : "...",
"subcode" : {
"value" : "..."
}
},
"reason" : {
"text" : "..."
}
}