ProtonMail / go-proton-api

Proton API library used by Go-based clients and tools
MIT License
129 stars 17 forks source link

fix(GODT-2512): Catch unhandled API errors #63

Closed LBeernaertProton closed 1 year ago

LBeernaertProton commented 1 year ago

In the rare cases where the APIError deserialization routine fails, ensure that all >=400 error codes are still reported as API errors so that client libraries can correctly handle this.