From 20ef0d92694465ac86b550df139e8366a0a2b4fa Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 22 Jul 2025 17:35:49 -0600 Subject: feat: connect to spicedb --- .../authzed/spicedb/internal/sharederrors/interfaces.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go (limited to 'vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go') diff --git a/vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go b/vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go new file mode 100644 index 0000000..852c28f --- /dev/null +++ b/vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go @@ -0,0 +1,16 @@ +package sharederrors + +// UnknownNamespaceError is an error raised when a namespace was not found. +type UnknownNamespaceError interface { + // NotFoundNamespaceName is the name of the namespace that was not found. + NotFoundNamespaceName() string +} + +// UnknownRelationError is an error raised when a relation was not found. +type UnknownRelationError interface { + // NamespaceName is the name of the namespace under which the relation was not found. + NamespaceName() string + + // NotFoundRelationName is the name of the relation that was not found. + NotFoundRelationName() string +} -- cgit v1.2.3