Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ErrKeyExists that is compatible with errors.Is on kv.Create #1136

Merged
merged 3 commits into from Nov 17, 2022

Commits on Nov 17, 2022

  1. Add KeyValueError that is compatible with errors.Is

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    b5215a7 View commit details
    Browse the repository at this point in the history
  2. Wrap ErrKeyExists on kv.Create WrongLastSequence error

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    b763e76 View commit details
    Browse the repository at this point in the history
  3. Wrap APIError instead of ErrKeyExist

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    5e12137 View commit details
    Browse the repository at this point in the history