Reason
Why a response was rejected. New reasons may be added before 1.0; use an else branch.
Entries
It failed verification and was dropped (RFC 8613 §8.4): a protected response that did not verify, a replay, or an unprotected response that is not an error. Its exchange goes on: a request waits for a response that verifies, and fails with CoapException.Reason.RESPONSE_TIMEOUT when none comes, with the last such failure as cause and their count in its message; an observation keeps its collectors.
An error that came without message security (RFC 8613 §8.2), which nothing acts on (ADR 0008): a request that has no verified response yet fails with CoapException.Reason.UNVERIFIED_RESPONSE, which carries it, and an established observation drops it.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.