Open andete opened 7 years ago
@andete The link for the example doesn't work anymore, because the branch is gone.
alternative location for errors.rs: https://github.com/Orangenosecom/philipshue/blob/master/src/errors.rs
Or rather more permanent: https://github.com/Orangenosecom/philipshue/blob/431d1b166e8a07baac60ea31f6820fb200b0149e/src/errors.rs
^^ Unfortunately, https://github.com/brson/error-chain/issues/63 makes it more complicated that it should. Do you want to try?
No, I just noticed the issue wasn't reported yet. Even though it seems to be related to #63 , for a casual user of error-chain this may not be obvious.
Yeah, I myself didn't notice it before your issue ^^
See errors.rs for an example. As far as I can see it is not possible to add documentation to the 3 fields of BridgeError.
It would be nice if that could be made possible in some way.