arrange/errors.go

20 lines
260 B
Go
Raw Normal View History

2016-05-17 23:03:37 -07:00
package arrange
import "fmt"
type NotMedia struct {
Path string
}
func (nm NotMedia) Error() string {
return fmt.Sprintf("not media: %q", nm.Path)
}
type Dup struct {
Path string
}
func (d Dup) Error() string {
return fmt.Sprintf("dup: %q", d.Path)
}