/// Errors raised by entity- and resource-authority operations.
///
/// `Resource*` variants are raised by the Replicated Resources auth API
/// (e.g. `server.resource_take_authority::<R>()`) and are semantically
/// distinct from the entity variants — using `NotInScope` for "the
/// resource isn't currently inserted" would be a misuse.