Skip to content

Conversation

@nicholasbishop
Copy link
Member

As mentioned in #360 (comment), it seems like an oversight that this type isn't part of the public API.

Added docstrings to the public methods.

self.status
}

/// Get error payload.
Copy link
Contributor

@josephlr josephlr Mar 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if the terminology used elsewhere is "payload" or "error data". Either works, but we should be consistent.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one other use of payload in this file, so switched both to data.

As mentioned in rust-osdev#360 (comment), it seems like an oversight that this type isn't part of the public API. Added docstrings to the public methods.
@nicholasbishop nicholasbishop merged commit 8e4fb8d into rust-osdev:main Mar 5, 2022
@nicholasbishop nicholasbishop deleted the bishop-err-pub branch March 5, 2022 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants