chore: improve error message
(cherry picked from commit bc5fd380e55252f360059d90b894ddbe60688d94)
This commit is contained in:

committed by
kolaente

parent
fc780a90ae
commit
6e38bcf349
@ -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
|
||||
|
Reference in New Issue
Block a user