failure icon indicating copy to clipboard operation
failure copied to clipboard

Example in the readme doesn't show how to create erorr instances

Open kornelski opened this issue 6 years ago • 1 comments

The example shows InvalidToolchainName being defined, but this enum isn't used anywhere else in the code. It's unclear how instance of InvalidToolchainName error is actually created.

quick_error implements From so types are automagically converted, but in Failure's example both enum cases contain just a plain String, so I don't think ? can create any of these errors. Therefore, I think example is missing the most important bit of the code.

kornelski avatar May 05 '18 23:05 kornelski

What is funny - documentation says a lot about many things but not about such basics.

Fedcomp avatar Jul 29 '18 20:07 Fedcomp