Module: opensearch/error

Methods

(static) getErrorFromXml(xmlStr) → {Error|null}

Try to parse an OWS ExceptionReport and create an Error object from the parsed values.
Parameters:
Name Type Description
xmlStr string The XML string to parse the exception from.
Source:
Returns:
The parsed error object or null of parsing failed.
Type
Error | null