Skip to content

[1.0] Restructure PatternError #166

@tgross35

Description

@tgross35

Strongly typed errors would be helpful:

#[non_exhaustive]
pub struct PatternError {
    pub pos: usize,
    pub msg: PattternErrorKind,
}

#[non_exhaustive]
enum PattternErrorKind {
    // ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions