diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2012-10-24 13:29:15 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-10-24 13:29:15 +0100 |
| commit | 8f77a615fa0d3bf285cf31150a351f94777ad117 (patch) | |
| tree | 213b1399ca1d48a318229a5f002004182cd74790 /docs/remove-namespaces.xsl | |
| parent | f7511a7a7578c7f8661e96687ed5193894085ac9 (diff) | |
| download | rabbitmq-server-git-8f77a615fa0d3bf285cf31150a351f94777ad117.tar.gz | |
better error messages for 'absent' queues in binding commands
- change binding:call_with_source_and_destination/3 to replace {error,
source_not_found | destination_not_found |
source_and_destination_not_found} with {error, {resources_missing,
[{not_found, #resource{}} | {absent, Q}]}}.
- the change ripples through rabbit_channel:binding_action, which can
now produce nice not_founds.
- We now only report one of the errors when there is something wrong
with both source and destination. I reckon this is acceptable; we
could do better but it would involve a fair bit of extra code.
Diffstat (limited to 'docs/remove-namespaces.xsl')
0 files changed, 0 insertions, 0 deletions
