protectionError property

UserException? get protectionError

The error raised when trying to unlock the Publication, if any.

Implementation

UserException? get protectionError => protectionService?.error;