mirror of
https://github.com/Fishwaldo/sched.git
synced 2025-03-15 11:31:29 +00:00
19 lines
342 B
Go
19 lines
342 B
Go
package job
|
|
|
|
//ErrorJobPanic Error returned when a Job panics
|
|
type ErrorJobPanic struct {
|
|
Message string
|
|
}
|
|
|
|
func (e ErrorJobPanic) Error() string {
|
|
return e.Message
|
|
}
|
|
|
|
//ErrorJobStarted Error returned when a has already started.
|
|
type ErrorJobStarted struct {
|
|
Message string
|
|
}
|
|
|
|
func (e ErrorJobStarted) Error() string {
|
|
return e.Message
|
|
}
|