@ska @lanodan what i've done in the past is defining an status enum and providing a `strerror` function