Function rethrowAsWfsExceptionIfPossible

  • If the underlying client failure carries a WFS ExceptionReport in its body, re-throw as HonuaWfsExceptionError; otherwise leave the original error in place. The body is wrapped by parseResponseBody as { raw: text, contentType? } for non-JSON responses.

    Parameters

    • err: unknown

    Returns unknown