diff options
Diffstat (limited to 'job_error.go')
-rw-r--r-- | job_error.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/job_error.go b/job_error.go new file mode 100644 index 00000000..d024ad11 --- /dev/null +++ b/job_error.go @@ -0,0 +1,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) +} |