Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not possible to document fields in struct type error in error block. #97

Open
andete opened this Issue Dec 17, 2016 · 6 comments

Comments

Projects
None yet
3 participants
@andete
Copy link

andete commented Dec 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.

andete referenced this issue in andete/philipshue Dec 17, 2016

@LFalch

This comment has been minimized.

Copy link

LFalch commented Dec 18, 2016

@andete The link for the example doesn't work anymore, because the branch is gone.

@andete

This comment has been minimized.

Copy link
Author

andete commented Dec 18, 2016

@andete

This comment has been minimized.

@Yamakaky

This comment has been minimized.

Copy link
Collaborator

Yamakaky commented Dec 18, 2016

^^
Unfortunately, #63 makes it more complicated that it should. Do you want to try?

@andete

This comment has been minimized.

Copy link
Author

andete commented Dec 18, 2016

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.

@Yamakaky

This comment has been minimized.

Copy link
Collaborator

Yamakaky commented Dec 18, 2016

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
You can’t perform that action at this time.