Skip to content

How to handle errors properly? #47

@theonlyasdk

Description

@theonlyasdk

Assume I try to read a non-existent value from a non-existent section, how would I handle this error? Should I use try/catch? Is there a way I can avoid try/catch? Like a contains(section, key) that returns a boolean, which could possibly be used for catching errors beforehand.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions