summaryrefslogtreecommitdiff
path: root/job_error.go
blob: d024ad11de49800182f2f65ec2e14bc533ba0f27 (plain)
1
2
3
4
5
6
7
8
9
10
package roadrunner

// JobError is job level error (no worker halt), wraps at top
// of error context
type JobError []byte

// Error converts error context to string
func (je JobError) Error() string {
	return string(je)
}