Post from wezm on 11 Jan 2022

This is a static archive of wezm@decentralised.social

https://mastodon.decentralised.social/@wezm is now my primary account

☜ Back to home page
wezm
↩ reply to @schlink I think you should be able to swap ErrorKind::Other with ErrorKind::AlreadyExists in your existing code. That is you need to still call io::Error::new