summaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-23 19:51:15 -0500
committerWolfy-J <[email protected]>2018-01-23 19:51:15 -0500
commit78a42de837928cf7d10a1ae04d7e82e56d66e1e2 (patch)
tree8882b9a051bcc9c42328df583c0bb8c39a89591e /error.go
parentfa4bd78d9f7c5f74e8445374370927c742fc4e78 (diff)
API update
Diffstat (limited to 'error.go')
-rw-r--r--error.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/error.go b/error.go
deleted file mode 100644
index a8f9e539..00000000
--- a/error.go
+++ /dev/null
@@ -1,17 +0,0 @@
-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)
-}