forbidden static method

OpeningException forbidden(
  1. Exception cause
)

We're not allowed to open the publication at all, for example because it expired.

Implementation

static OpeningException forbidden(Exception cause) =>
    OpeningException._("r2_shared_publication_opening_exception_forbidden",
        cause: cause);