4.1.40 the_cluster_err()

-spec the_cluster_err() -> {ok, cluster_id()} |
                           {error, not_in_cluster}.

Similar to the_cluster/0, but returns an error tuple instead of undefined.

This wrapper is useful for maybe blocks.

JavaScript license information