Skip to content

Commit 45e8077

Browse files
committed
remove internal/graph/errors.go:78:34: unreachable func: RelationNotFoundError.NotFoundRelationNa
1 parent fed7efb commit 45e8077

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/graph/errors.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ type RelationNotFoundError struct {
6161
relationName string
6262
}
6363

64-
// NotFoundRelationName returns the name of the relation not found.
65-
func (err RelationNotFoundError) NotFoundRelationName() string {
66-
return err.relationName
67-
}
68-
6964
func (err RelationNotFoundError) MarshalZerologObject(e *zerolog.Event) {
7065
e.Err(err.error).Str("namespace", err.namespaceName).Str("relation", err.relationName)
7166
}

0 commit comments

Comments
 (0)