Protocol where each Output
conforms to
#574
Labels
kind/support
Adopter support requests.
status/triage
Collecting information required to triage the issue.
Question
I would like to write one
wrapError
function that takes a genericOutput
and handles all the errors. For this I think we'd need to have a protocol to which allOutput
enums conform to. For instance:I am not an advanced enough Swift programmer to know if this would actually work. I'm trying to avoid copying error handling logic for each of my routes. Perhaps you have any other solutions?
Many thanks
The text was updated successfully, but these errors were encountered: