Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ElementData TypeDescriptionSample Data
AdditionalErrorTextStringIf the Status is OkWithWarnings or Fail, this will contain one or more warning or error messages. It may also contain (even when Status is Ok) informational messages.Warning 105
ErrorCodeStringError CodeAtLeastOneItemNotFound
Error TextStringError TextAt least one requested item was not found. The remaining items, if any, were returned.
TypeStringError Type"Warning" or "Error"
ReferenceId1Int32

ReferenceId2Int32

Usage Example(s)


Code Block
languagexml
titleExample 01 - Warning
collapsetrue
              <PwsMessage>
                  <AdditionalErrorText>Warning 105</AdditionalErrorText>
                  <ErrorCode>AtLeastOneItemNotFound</ErrorCode>
                  <ErrorNumber>105</ErrorNumber>
                  <ErrorText>At least one requested item was not found. The remaining items, if any, were returned.</ErrorText>
                  <Type>Warning</Type>
               </PwsMessage>
Code Block
languagexml
titleExample 02 - Error
collapsetrue
                <PwsMessage>
                     <AdditionalErrorText>Error 10004: InvalidSessionTicket</AdditionalErrorText>
                     <ErrorCode>InvalidSessionTicket</ErrorCode>
                     <ErrorNumber>10004</ErrorNumber>
                     <ErrorText>The specified session ticket is invalid. Please verify you are issuing this request against the correct instance of Projector.</ErrorText>
                     <Type>Error</Type>
                     <ReferenceId1 i:nil="true"/>
                     <ReferenceId2 i:nil="true"/>
                  </PwsMessage>