pub enum ReleasePlannerError {
Show 13 variants
WorkspacePackageMissing {
package: PackageId,
},
ReleaseLevelMissing {
package: PackageId,
},
MissingPackagePolicy {
package: PackageId,
},
UnknownPolicyPackage {
package: PackageId,
},
UnknownPolicyDependency {
package: PackageId,
dependency: PackageId,
},
PolicyDependencyIsNotGraphEdge {
package: PackageId,
dependency: PackageId,
},
UnknownChangesetPackage {
changeset: ChangesetId,
package: PackageId,
},
InvalidVersionTransition {
package: PackageId,
source: VersioningError,
},
SharedVersionMismatch {
version_source: VersionSourceId,
first_package: PackageId,
first_version: Box<Version>,
package: PackageId,
version: Box<Version>,
},
SharedVersionChannelMismatch {
version_source: VersionSourceId,
first_package: PackageId,
package: PackageId,
},
SharedVersionChannelBumpMismatch {
version_source: VersionSourceId,
first_package: PackageId,
package: PackageId,
},
Workspace(WorkspaceGraphError),
InvalidPlan(ReleasePlanError),
}Variants§
WorkspacePackageMissing
ReleaseLevelMissing
MissingPackagePolicy
UnknownPolicyPackage
UnknownPolicyDependency
PolicyDependencyIsNotGraphEdge
UnknownChangesetPackage
InvalidVersionTransition
Workspace(WorkspaceGraphError)
InvalidPlan(ReleasePlanError)
Trait Implementations§
Source§impl Clone for ReleasePlannerError
impl Clone for ReleasePlannerError
Source§fn clone(&self) -> ReleasePlannerError
fn clone(&self) -> ReleasePlannerError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReleasePlannerError
impl Debug for ReleasePlannerError
Source§impl Display for ReleasePlannerError
impl Display for ReleasePlannerError
impl Eq for ReleasePlannerError
Source§impl Error for ReleasePlannerError
impl Error for ReleasePlannerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ReleasePlannerError> for DomainError
impl From<ReleasePlannerError> for DomainError
Source§fn from(source: ReleasePlannerError) -> Self
fn from(source: ReleasePlannerError) -> Self
Converts to this type from the input type.
Source§impl From<WorkspaceGraphError> for ReleasePlannerError
impl From<WorkspaceGraphError> for ReleasePlannerError
Source§fn from(source: WorkspaceGraphError) -> Self
fn from(source: WorkspaceGraphError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReleasePlannerError
impl PartialEq for ReleasePlannerError
impl StructuralPartialEq for ReleasePlannerError
Auto Trait Implementations§
impl Freeze for ReleasePlannerError
impl RefUnwindSafe for ReleasePlannerError
impl Send for ReleasePlannerError
impl Sync for ReleasePlannerError
impl Unpin for ReleasePlannerError
impl UnsafeUnpin for ReleasePlannerError
impl UnwindSafe for ReleasePlannerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more