Skip to content

prc error type does not implement Error trait #11

@ScanMountGoat

Description

@ScanMountGoat

The current struct is hard to use with existing Rust syntax like ? or Box<dyn Error>>.

prc-rs/src/prc_trait.rs

Lines 42 to 47 in 29b8981

#[derive(Debug)]
pub struct Error {
pub path: Vec<ErrorPathPart>,
pub position: std::io::Result<u64>,
pub kind: ErrorKind,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions