Skip to content

More detailed errors from file parsing #31

@redstrate

Description

@redstrate

Currently file parsers are a complete black-box (or are supposed to be, sometimes I forget an unwrap somewhere.) This is because they only return an Option and not a Result. This should change at some point, because it's pretty much impossible to gauge what went wrong when parsing fails.

The naive solution is to add a binrw::Error to ParsingError, but I'm unsure if that's the correct one to go with.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions