You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// An error when attempting to add a new asset source.
654
703
#[derive(Error,Debug,Clone,PartialEq,Eq)]
655
704
pubenumAddSourceError{
705
+
/// The provided asset source is a "processed" source, and processing has already started, where adding is currently unsupported.
706
+
// TODO: Remove this once it's supported.
707
+
#[error("The provided asset source is processed, but the asset processor has already started. This is currently unsupported - processed sources can only be added at startup")]
708
+
SourceIsProcessed,
656
709
/// An asset source with the given name already exists.
657
710
#[error("Asset Source '{0}' already exists")]
658
711
NameInUse(CowArc<'static,str>),
659
712
}
660
713
714
+
/// An error when attempting to remove an existing asset source.
715
+
#[derive(Error,Debug,Clone,PartialEq,Eq)]
716
+
pubenumRemoveSourceError{
717
+
/// The requested asset source is a "processed" source, and processing has already started, where removing is currently unsupported.
718
+
// TODO: Remove this once it's supported.
719
+
#[error("The asset source being removed is processed, but the asset processor has already started. This is currently unsupported - processed sources can only be removed at startup")]
720
+
SourceIsProcessed,
721
+
/// The requested source is missing, so it cannot be removed.
722
+
#[error("Asset Source '{0}' does not exist")]
723
+
MissingSource(CowArc<'static,str>),
724
+
}
725
+
661
726
/// An error returned when an [`AssetSource`] does not exist for a given id.
0 commit comments