kherge / rs.carli

A library for rapid command line tool development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement `From<T> for Error` for all `std::error::Error` implementations.

kherge opened this issue · comments

The following checks have been done.

  • I could not find another enhancement request that covers what I need.
  • This request does not cover existing functionality.

What existing feature needs to be enhanced?

The ability to convert errors to carli::error::Error.

What problem is being solved?

The lack of support for all std::error::Error implementations.

How would you like to see this problem solved?

Replacing existing From<T> implementations with From<T: std::error::Error> for Error.

Some additional context.

  • Should try to perform OS errors codes from errors such as std::io::Error.