package roadrunner // ExecError is job level error (no WorkerProcess halt), wraps at top // of error context type ExecError []byte // Error converts error context to string func (te ExecError) Error() string { return string(te) } // WorkerError is WorkerProcess related error type WorkerError struct { // Worker Worker WorkerBase // Caused error Caused error } // Error converts error context to string func (e WorkerError) Error() string { return e.Caused.Error() }