mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
11 lines
265 B
Go
11 lines
265 B
Go
package errors
|
|
|
|
func NewProcessError(msg string) (err error) {
|
|
return NewError(ErrorPrefixProcess, msg)
|
|
}
|
|
|
|
var (
|
|
ErrorProcessReachedMaxErrors = NewProcessError("reached max errors")
|
|
ErrorProcessDaemonProcessExited = NewProcessError("daemon process exited")
|
|
)
|