2.2.2.5 Error

The Error structure denotes the possible error codes that are received from methods processed by the Key Protection Service’s RollTransportKey and GetMetaData methods.

 <xs:element name="Error" type="Error_T" />
   <xs:complexType name="Error_T">
      <xs:annotation>
         <xs:documentation>Error response.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="Code" type="xs:string">
            <xs:annotation>
               <xs:documentation>Error code.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Message" type="xs:string">
            <xs:annotation>
               <xs:documentation>Error message.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
  </xs:complexType>

Code: A string that represents the error response received from RollTransportKey or GetMetaData.

Message: A string that represents the error message of the error code received.