35 | %%
36 | %% | Cause |
37 | %% Exit reason |
38 | %%
39 | %%
40 | %% | Any reason, where Code would have been 200 otherwise |
41 | %% ```normal''' |
42 | %%
43 | %%
44 | %% | User application calls amqp_connection:close/3 |
45 | %% ```close_reason(app_initiated_close)''' |
46 | %%
47 | %%
48 | %% | Server closes connection (hard error) |
49 | %% ```close_reason(server_initiated_close)''' |
50 | %%
51 | %%
52 | %% | Server misbehaved (did not follow protocol) |
53 | %% ```close_reason(server_misbehaved)''' |
54 | %%
55 | %%
56 | %% | AMQP client internal error - usually caused by a channel exiting
57 | %% with an unusual reason. This is usually accompanied by a more
58 | %% detailed error log from the channel |
59 | %% ```close_reason(internal_error)''' |
60 | %%
61 | %%
62 | %% | Other error |
63 | %% (various error reasons, causing more detailed logging) |
64 | %%
65 | %%
66 | %%