Skip to content

Consider Removing Some Usages of ? #14

@lexzaiello

Description

@lexzaiello

As was suggested in an earlier PR review comment, testing other people's code is not a priority, so ? is unnecessary in many places. Furthermore, opting for .expect or .unwrap, which cause the program to terminate immediately with a very detailed stack trace may be advantageous compared to ?, since ? will cause errors to bubble up, thus losing context. At the very least, we should opt for a more powerful error library to add more context to errors in localic-utils.

Suggested Changes

  • Remove usages of ? in localic-utils where more detailed error information could be important or useful

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions