1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package roadrunner // WorkerError is communication/process error. type WorkerError string // Error converts error context to string func (we WorkerError) Error() string { return string(we) } // JobError is job level error (no worker halt) type JobError []byte // Error converts error context to string func (je JobError) Error() string { return string(je) }