Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

Expose schema registry errors #11

@racevedoo

Description

@racevedoo

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:

if ce, confluentErr := err.(confluentError); confluentErr && ce.ErrorCode == schemaNotFound {
	return false, fs, nil
}

But the const subjectNotFound is not used on the project. Is there any reason behind that?

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions