libpathrs icon indicating copy to clipboard operation
libpathrs copied to clipboard

errors: figure out if/how to expose ErrorKind

Open cyphar opened this issue 5 months ago • 0 comments

ErrorKind is quite useful for our tests and most library users would probably want it for some uses, but it probably needs to have a better-designed way of distinguishing errors (ErrorKind::InvalidArgument vs ErrorKind::OsError(Some(libc::EINVAL)) is kind of unfortunate, for instance).

Kind of related to #60.

cyphar avatar Sep 11 '24 08:09 cyphar