mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
11 lines
256 B
Go
11 lines
256 B
Go
package errors
|
|
|
|
func NewSpiderError(msg string) (err error) {
|
|
return NewError(ErrorPrefixSpider, msg)
|
|
}
|
|
|
|
var (
|
|
ErrorSpiderMissingRequiredOption = NewSpiderError("missing required option")
|
|
ErrorSpiderForbidden = NewSpiderError("forbidden")
|
|
)
|