From fc87714e04dd900355cc68c72ad6d7b854838245 Mon Sep 17 00:00:00 2001
From: Alexandru Scvortov <alexandru@rabbitmq.com>
Date: Tue, 6 Jul 2010 10:50:28 +0100
Subject: {error, A} -> rabbit_types:error(A)

---
 src/worker_pool_worker.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/worker_pool_worker.erl')

diff --git a/src/worker_pool_worker.erl b/src/worker_pool_worker.erl
index 57901fd5..6a14484e 100644
--- a/src/worker_pool_worker.erl
+++ b/src/worker_pool_worker.erl
@@ -44,7 +44,7 @@
 
 -ifdef(use_specs).
 
--spec(start_link/1 :: (any()) -> {'ok', pid()} | 'ignore' | {'error', any()}).
+-spec(start_link/1 :: (any()) -> {'ok', pid()} | 'ignore' | rabbit_types:error(any())).
 -spec(submit/2 :: (pid(), fun (() -> A) | {atom(), atom(), [any()]}) -> A).
 -spec(submit_async/2 ::
       (pid(), fun (() -> any()) | {atom(), atom(), [any()]}) -> 'ok').
-- 
cgit v1.2.1