1
0

chore: improve error message

(cherry picked from commit bc5fd380e55252f360059d90b894ddbe60688d94)
This commit is contained in:
Dominik Pschenitschni
2024-07-18 18:55:43 +02:00
committed by kolaente
parent fc780a90ae
commit 6e38bcf349
2 changed files with 3 additions and 3 deletions

View File

@ -476,7 +476,7 @@ func IsErrTaskDoesNotExist(err error) bool {
}
func (err ErrTaskDoesNotExist) Error() string {
return fmt.Sprintf("Project task does not exist. [ID: %d]", err.ID)
return fmt.Sprintf("The task does not exist. [ID: %d]", err.ID)
}
// ErrCodeTaskDoesNotExist holds the unique world-error code of this error