Skip to content

C-WORD-ORDER when there is no verb #246

@Kestrer

Description

@Kestrer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions