graph/db: let IsZombieEdge return an error

This commit is contained in:
Elle Mouton committed 2025-06-26 10:19:51 +02:00
1 parent e38aa6d1e0
commit cc0be0bca2
5 files changed
+33 -16

No files matched your search

+5
View File
@@ -66,6 +66,11 @@ var (
// ErrUnknownAddressType is returned when a node's addressType is not
// an expected value.
ErrUnknownAddressType = fmt.Errorf("address type cannot be resolved")
// ErrCantCheckIfZombieEdgeStr is an error returned when we
// attempt to check if an edge is a zombie but encounter an error.
ErrCantCheckIfZombieEdgeStr = fmt.Errorf("unable to check if edge " +
"is a zombie")
)
// ErrTooManyExtraOpaqueBytes creates an error which should be returned if the