Skip to content
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
This repository was archived by the owner on Aug 28, 2026. It is now read-only.

make returned errors public constants #3

Description

@boindil

declaring the returned errors as public constants would allow to add custom error handling while using this lib.

I for instance would like to handle the errors on .Get, but I'd like to decide what to do based on the specific error.

P.S.: is this project still alive? In #2 you said, that you were going to grow out the lib soon

P.P.S.: it has already been done for the DoesNotExist error, it's just not consistent.

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