Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upnot possible to document fields in struct type error in error block. #97
Comments
andete
referenced
this issue
in andete/philipshue
Dec 17, 2016
This comment has been minimized.
This comment has been minimized.
LFalch
commented
Dec 18, 2016
|
@andete The link for the example doesn't work anymore, because the branch is gone. |
This comment has been minimized.
This comment has been minimized.
|
alternative location for errors.rs: https://github.com/Orangenosecom/philipshue/blob/master/src/errors.rs |
This comment has been minimized.
This comment has been minimized.
|
Or rather more permanent: https://github.com/Orangenosecom/philipshue/blob/431d1b166e8a07baac60ea31f6820fb200b0149e/src/errors.rs |
This comment has been minimized.
This comment has been minimized.
|
^^ |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
Yeah, I myself didn't notice it before your issue ^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
andete commentedDec 17, 2016
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.