oxidecomputer / idolatry

An experimental IPC interface definition language for Hubris.
Mozilla Public License 2.0
17 stars 11 forks source link

Add a `LeaseError` type, instead of `()` #54

Open mkeeter opened 3 months ago

mkeeter commented 3 months ago

Many functions return Result<(), ()>, which is a little weird looking!

Having a LeaseError (or LeaseReadError / LeaseWriteError) would make this less weird, even if it's a simple empty struct.