When an operation fails, an error response will be provided. This includes an error code and a text message. The <response> element will contain the two elements:
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/epp-1.0 epp-1.0.xsd">
<response>
<result code="2302">
<msg>Object exists</msg>
<extValue>
<value>
<contact:id
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd">
S66TA01
</contact:id>
</value>
<reason>V279 Account S66TA01 exists already.</reason>
</extValue>
</result>
<trID>
<clTRID>EPP-66-C02</clTRID>
<svTRID>100663</svTRID>
</trID>
</response>
</epp>