diff --git a/models/error.go b/models/error.go index cf31bd5f4..6aba5c0f8 100644 --- a/models/error.go +++ b/models/error.go @@ -1231,6 +1231,7 @@ func (err ErrCircularDependency) Error() string { // ErrDependenciesLeft represents an error where the issue you're trying to close still has dependencies left. type ErrDependenciesLeft struct { IssueID int64 + } // IsErrDependenciesLeft checks if an error is a ErrCircularDependency.