github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/actor/actionerror/task_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // TaskNotFoundError is returned when no tasks matching the filters are found.
     6  type TaskNotFoundError struct {
     7  	SequenceID int
     8  }
     9  
    10  func (e TaskNotFoundError) Error() string {
    11  	return fmt.Sprintf("Task sequence ID %d not found.", e.SequenceID)
    12  }