bool has_failure() const noexcept

Returns true if there is either an error or an exception. Constexpr where possible.

Requires: Always available.

Complexity: Constant time.

Guarantees: Never throws an exception.