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

js: Add JetStreamError with more API response details #1047

Merged
merged 7 commits into from Aug 23, 2022
Merged

Commits on Aug 22, 2022

  1. js: Add JetStreamAPIError with more api response details

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Aug 22, 2022
    Copy the full SHA
    e3147fa View commit details
    Browse the repository at this point in the history
  2. js: leverage more errors package internals

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Aug 22, 2022
    Copy the full SHA
    aad6326 View commit details
    Browse the repository at this point in the history
  3. js: change to use errors.Is

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Aug 22, 2022
    Copy the full SHA
    a89ee00 View commit details
    Browse the repository at this point in the history
  4. js: smaller JetStreamError interface, make JetStreamAPIError concrete…

    … type
    
    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Aug 22, 2022
    Copy the full SHA
    21ea50a View commit details
    Browse the repository at this point in the history
  5. js: switch to APIError

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Aug 22, 2022
    Copy the full SHA
    36b8662 View commit details
    Browse the repository at this point in the history
  6. js: make an APIError implement the interface

    Signed-off-by: Waldemar Quevedo <wally@nats.io>
    wallyqs committed Aug 22, 2022
    Copy the full SHA
    8fee091 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Copy the full SHA
    f7eaca6 View commit details
    Browse the repository at this point in the history