summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_exchange.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl
index ab06045ca9..9c0efe9459 100644
--- a/src/rabbit_exchange.erl
+++ b/src/rabbit_exchange.erl
@@ -64,7 +64,8 @@
-type(bind_res() :: rabbit_types:ok_or_error('queue_not_found' |
'exchange_not_found' |
'exchange_and_queue_not_found')).
--type(inner_fun() :: fun((rabbit_types:exchange(), queue()) -> any())).
+-type(inner_fun() :: fun((rabbit_types:exchange(), queue()) ->
+ rabbit_types:ok_or_error('amqp_error'))).
-spec(recover/0 :: () -> 'ok').
-spec(declare/5 ::