We have a set of cases in our app where we have special handling for different errors returned by the ngpvan api.
We have thought about extending the exception typing in the gem to be aware of various more finely typed sorts of errors that come back from the api (often data validation issues). we could then catch those typed exceptions in our app.
Would that be a welcome improvement? There are a few sorts of errors that are recoverable on our side and typing the exceptions would help us cleanup some code on our side.
We have a set of cases in our app where we have special handling for different errors returned by the ngpvan api.
We have thought about extending the exception typing in the gem to be aware of various more finely typed sorts of errors that come back from the api (often data validation issues). we could then catch those typed exceptions in our app.
Would that be a welcome improvement? There are a few sorts of errors that are recoverable on our side and typing the exceptions would help us cleanup some code on our side.