The Wayback Machine - https://web.archive.org/web/20220803224238/https://github.com/topics/urlrequest
Skip to content
#

urlrequest

Here are 42 public repositories matching this topic...

nashfive
nashfive commented Jun 14, 2022

I have a custom validator that parses the JSON response and tries to build an Error struct.
If it builds the error successfully, my validator will return with a .failChain(responseError), but in my catch at the call site, the error is still embedded into a HTTPError, which makes the catch a bit convoluted:

import RealHTTP
import MyService

do { 
  let result = try await ser
enhancement good first issue

Improve this page

Add a description, image, and links to the urlrequest topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the urlrequest topic, visit your repo's landing page and select "manage topics."

Learn more