A refusal from the connect path, carrying the exact sentence the operator would have been shown.
Every step below has one answer for "this cannot be connected", and until now that answer was
always print it and end the process. That is right for a person who just typed a command and
wrong for anything that has to KEEP GOING: cotal attach re-establishing a session after the
link died has to treat an unreachable broker as the transient it is, and it cannot do that
through a function that exits. So the decision (what happened, and what to say about it) is
separated from the disposition (print and exit, or throw), and connectOrExit is now a thin
wrapper that supplies the exiting disposition. The two forms cannot drift in what they say
because there is only one place the sentence is written.
kind says whether asking again can help. transient is a broker that did not answer in time or
could not be reached, a user-auth service that did not answer, or a view exchange that failed for
any reason but a sign-out (see userViewAuthOrThrow): a caller that keeps going retries it.
Every other refusal is permanent (missing seed, refused credentials, a user-auth mesh offered
static creds), and a caller that keeps going must stop and say the sentence rather than retry it.
A refusal from the connect path, carrying the exact sentence the operator would have been shown.
Every step below has one answer for "this cannot be connected", and until now that answer was always
print it and end the process. That is right for a person who just typed a command and wrong for anything that has to KEEP GOING:cotal attachre-establishing a session after the link died has to treat an unreachable broker as the transient it is, and it cannot do that through a function that exits. So the decision (what happened, and what to say about it) is separated from the disposition (print and exit, or throw), andconnectOrExitis now a thin wrapper that supplies the exiting disposition. The two forms cannot drift in what they say because there is only one place the sentence is written.kindsays whether asking again can help.transientis a broker that did not answer in time or could not be reached, a user-auth service that did not answer, or a view exchange that failed for any reason but a sign-out (see userViewAuthOrThrow): a caller that keeps going retries it. Every other refusal ispermanent(missing seed, refused credentials, a user-auth mesh offered static creds), and a caller that keeps going must stop and say the sentence rather than retry it.