quartiq / minimq

Minimal no_std MQTT v5.0 client implementation
MIT License
143 stars 16 forks source link

Returning a public error type #147

Closed ryan-summers closed 1 year ago

ryan-summers commented 1 year ago

This PR updates the will() API of the ConfigBuilder to return a public error type that is easily coerced. The crate::ser::Error is not publicly exported.

I also made it so these types are now publicly exported so users can easily match on them.