use Error;
/// Errors produced by the publish workflow.
///
/// `cabin publish` requires either `--dry-run` (stage the package
/// to a directory without touching any registry) or
/// `--registry-dir` (publish into a local file registry);
/// otherwise [`PublishError::DryRunRequired`] is raised.