Closed leonbotros closed 3 years ago
https://github.com/tweedegolf/irmars/blob/659859d6aa2bdda636ee0672ca9011e74d3ecff1/src/error.rs#L15 https://github.com/tweedegolf/irmars/blob/659859d6aa2bdda636ee0672ca9011e74d3ecff1/src/irmaclient.rs#L141
Feature suggestion: Maybe this error variant could wrap the SessionStatus? This way users of client.request() can know not just that the session is not yet complete but also in which state it is.
SessionStatus
client.request()
Fixed in master
https://github.com/tweedegolf/irmars/blob/659859d6aa2bdda636ee0672ca9011e74d3ecff1/src/error.rs#L15 https://github.com/tweedegolf/irmars/blob/659859d6aa2bdda636ee0672ca9011e74d3ecff1/src/irmaclient.rs#L141
Feature suggestion: Maybe this error variant could wrap the
SessionStatus
? This way users ofclient.request()
can know not just that the session is not yet complete but also in which state it is.