summaryrefslogtreecommitdiff
path: root/work/work.go
blob: 07461ea97b7634abbe9f6041ef837d0906bcb6bc (plain)
1
2
3
4
5
6
7
8
9
10
package work

type Work struct {
	Data []byte
	Err  error
}

func (w *Work) Error() error {
	return w.Err
}