api-guidelines
api-guidelines copied to clipboard
C-WORD-ORDER when there is no verb
C-WORD-ORDER requires that errors be named VerbNounError. However, this doesn't work for cases where there is no verb, for example in getters:
impl Response {
fn bytes(self) -> Result<Vec<u8>, /* ? */> { ... }
}
What should be done in this case?