Emitted when the ownership changes. setContractOwner always uses previousOwner == address(0). Transfer facets typically emit with the real previous owner.
Thrown by requireOwner when msg.sender is not the curent owner. Other owner facets may also revert with this error.
Signature:
error OwnerUnauthorizedAccount();
Declared here for shared use (for example renounce flows). This module does not reference it; companion facets may revert with it when ownership was already renounced.
Call setContractOwner only from trusted init paths (constructor, one-off setup). For transfers, use OwnerTransferMod.transferOwnership or an equivalent facet so events record the real previous owner.
Guard external entrypoints with requireOwner() or equivalent before state changes restricted to the owner.