You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
When #12 will be merged, open your terminal and execute go get -u github.com/landoop/schema-registry/schema-registry-cli to update the package, you now have two helpers for the error type check:
ifschemaregistry.IsSubjectNotFound(err) {
// error raised by subject not found.
}
ifschemaregistry.IsSchemaNotFound(err) {
// error raised by schema not found.
}
Thanks and do not hesitate to ask for more, please do consider our lenses-go too!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Thanks for this great library!
I was wondering if there's a simple way to check for "subject not found" errors.
I can see that in the
IsRegistered
method, there's a check for schema not found error:But the const
subjectNotFound
is not used on the project. Is there any reason behind that?Thanks!
The text was updated successfully, but these errors were encountered: