diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 10:50:28 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-06 10:50:28 +0100 |
commit | fc87714e04dd900355cc68c72ad6d7b854838245 (patch) | |
tree | 0d1ab01ceb7a14baf4de071e60f0399d3b5ef324 /src/worker_pool_worker.erl | |
parent | ca6fdad91d83f02cb4b7ade6562541dce5c363cd (diff) | |
download | rabbitmq-server-fc87714e04dd900355cc68c72ad6d7b854838245.tar.gz |
{error, A} -> rabbit_types:error(A)
Diffstat (limited to 'src/worker_pool_worker.erl')
-rw-r--r-- | src/worker_pool_worker.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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'). |