Open jogu opened 4 days ago
it would be good to discuss here and in the DC spec itself how we handle particular types of errors and response errors... we need to clarify what's "exceptional" (causing the promise to reject in the browser API), and what's expected as response data when there is some error.
I agree @marcoscaceres - it would probably be good to have a discussion about errors in a WICG call. I had a look and this issue from Rick is probably a place to discuss it: https://github.com/WICG/digital-credentials/issues/130
We may also need to update the example javascript call to the digital credential API in the VP spec depending on the outcome.
As per @awoie comment here https://github.com/openid/OpenID4VP/pull/155/files#r1652002661:
and @marcoscaceres comment here https://github.com/openid/OpenID4VP/pull/155/files#r1660602655: