parsers/errors.go
2022-08-04 18:13:41 +02:00

9 lines
372 B
Go

package parsers
import "git.milar.in/milarin/adverr"
var (
ErrTorrentParserInsufficientData = adverr.NewErrTmpl("ErrTorrentParserInsufficientData", "regex '%s' must at least provide title and episode")
ErrTorrentParserInvalidGroupReference = adverr.NewErrTmpl("ErrTorrentParserInvalidGroupReference", "options references group %d but regex only has %d groups")
)