Documentation
¶
Index ¶
- Variables
- func Custom(format string, a ...any) error
- func ErrTransfer(src error, dst *error)
- func HasError(t *testing.T, err error, message ...string)
- func NoError(t *testing.T, err error, message ...string)
- func PanicErr(err error, ef func())
- func PanicRedirect(file *os.File) error
- func RequireNonErr(err error) bool
- type ErrWrapper
- type MultiErr
- type Thrower
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCrawlNotFound = errors.New("crawl notFound") ErrCoverDownLoadZeroSize = errors.New("coverFile downloader zeroSize after multiple attempts") ErrUnknownResCrawlLsType = errors.New("unknownResource ls crawl type") ErrBgmTVApiPrefix = errors.New("bgmTV api") ErrTorrentNotFound = errors.New("there are no torrentFiles on qbt") ErrTorrentOnSavePathNotFound = errors.New("there are no torrentFiles on savepath of a subject") ErrQbtDataNotFound = errors.New("no data found from the apiRequest (should be found)") ErrSubjectAlreadyExisted = errors.New("subject already existed") ErrSubjectNotFound = errors.New("subject notFound") ErrBgmUrlNotFoundOnMikan = errors.New("bgm url notFound on anicat") ErrUndefinedCrawlListType = errors.New("undefined crawlList type") WarnRssRuleNotMatched = errors.New("there is no any series mached,check your auto-downloader rule") ErrCannotCaptureEpisNum = errors.New("can not capture episodeNum from text") ErrItemAlreadyPushed = errors.New("item was already pushed") ErrNoLinkFoundOnRssFeed = errors.New("can not found link on feed") ErrConnHajcked = errors.New("conn hajacked") )
Functions ¶
func ErrTransfer ¶
func PanicRedirect ¶ added in v0.0.6
func RequireNonErr ¶
Types ¶
type ErrWrapper ¶
type ErrWrapper struct {
// contains filtered or unexported fields
}
func (*ErrWrapper) Error ¶
func (wp *ErrWrapper) Error() error
func (*ErrWrapper) Handle ¶
func (wp *ErrWrapper) Handle(t Thrower)
func (*ErrWrapper) Reset ¶
func (wp *ErrWrapper) Reset()
Click to show internal directories.
Click to hide internal directories.