diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-22 17:35:49 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-22 17:35:49 -0600 |
| commit | 20ef0d92694465ac86b550df139e8366a0a2b4fa (patch) | |
| tree | 3f14589e1ce6eb9306a3af31c3a1f9e1af5ed637 /vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go | |
| parent | 44e0d272c040cdc53a98b9f1dc58ae7da67752e6 (diff) | |
feat: connect to spicedb
Diffstat (limited to 'vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go')
| -rw-r--r-- | vendor/github.com/authzed/spicedb/internal/sharederrors/interfaces.go | 16 |
1 files changed, 16 insertions, 0 deletions
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 +} |
