pub enum ProjectError {
Show 27 variants
ExtensionNotRegistered(String),
NoIdentifiersFound(String),
TooManyIdentifiersFound(Vec<TaskId>, String),
IdentifierMissing(TaskId),
IdentifierMissingWithMaybes(TaskId, Vec<TaskId>),
TaskNotFound(TaskPathBuf),
ProjectNotFound(ProjectPathBuf),
InvalidIdentifier(InvalidId),
PluginError(PluginError),
IoError(Error),
SomeError {},
Infallible(Infallible),
PropertyError(Error),
WorkspaceError(WorkspaceError),
InvalidFileType(String),
PoisonError,
ActionsAlreadyQueried,
NoSharedProjectSet,
OptionsDecoderError(OptionsDecoderError),
OptionsSlurperError(OptionsSlurperError),
ProjectUrlError(ProjectUrlError),
InvalidResourceLocation(InvalidResourceLocation),
AcquisitionError(AcquisitionError),
CustomError(String),
ProviderError(ProviderError),
ExtensionError(ExtensionError),
FromUtf8Error(FromUtf8Error),
}
Variants§
ExtensionNotRegistered(String)
NoIdentifiersFound(String)
TooManyIdentifiersFound(Vec<TaskId>, String)
IdentifierMissing(TaskId)
IdentifierMissingWithMaybes(TaskId, Vec<TaskId>)
TaskNotFound(TaskPathBuf)
ProjectNotFound(ProjectPathBuf)
InvalidIdentifier(InvalidId)
PluginError(PluginError)
IoError(Error)
SomeError
Infallible(Infallible)
PropertyError(Error)
WorkspaceError(WorkspaceError)
InvalidFileType(String)
PoisonError
ActionsAlreadyQueried
OptionsDecoderError(OptionsDecoderError)
OptionsSlurperError(OptionsSlurperError)
ProjectUrlError(ProjectUrlError)
InvalidResourceLocation(InvalidResourceLocation)
AcquisitionError(AcquisitionError)
CustomError(String)
ProviderError(ProviderError)
ExtensionError(ExtensionError)
FromUtf8Error(FromUtf8Error)
Implementations§
Source§impl ProjectError
impl ProjectError
pub fn invalid_file_type<T>() -> ProjectError
pub fn custom<E>(error: E) -> ProjectError
Trait Implementations§
Source§impl Debug for ProjectError
impl Debug for ProjectError
Source§impl Display for ProjectError
impl Display for ProjectError
Source§impl Error for ProjectError
impl Error for ProjectError
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<AcquisitionError> for ProjectError
impl From<AcquisitionError> for ProjectError
Source§fn from(source: AcquisitionError) -> ProjectError
fn from(source: AcquisitionError) -> ProjectError
Converts to this type from the input type.
Source§impl From<Error> for ProjectError
impl From<Error> for ProjectError
Source§fn from(source: Error) -> ProjectError
fn from(source: Error) -> ProjectError
Converts to this type from the input type.
Source§impl From<Error> for ProjectError
impl From<Error> for ProjectError
Source§fn from(source: Error) -> ProjectError
fn from(source: Error) -> ProjectError
Converts to this type from the input type.
Source§impl From<ExtensionError> for ProjectError
impl From<ExtensionError> for ProjectError
Source§fn from(source: ExtensionError) -> ProjectError
fn from(source: ExtensionError) -> ProjectError
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for ProjectError
impl From<FromUtf8Error> for ProjectError
Source§fn from(source: FromUtf8Error) -> ProjectError
fn from(source: FromUtf8Error) -> ProjectError
Converts to this type from the input type.
Source§impl From<Infallible> for ProjectError
impl From<Infallible> for ProjectError
Source§fn from(source: Infallible) -> ProjectError
fn from(source: Infallible) -> ProjectError
Converts to this type from the input type.
Source§impl From<InvalidId> for ProjectError
impl From<InvalidId> for ProjectError
Source§fn from(source: InvalidId) -> ProjectError
fn from(source: InvalidId) -> ProjectError
Converts to this type from the input type.
Source§impl From<InvalidResourceLocation> for ProjectError
impl From<InvalidResourceLocation> for ProjectError
Source§fn from(source: InvalidResourceLocation) -> ProjectError
fn from(source: InvalidResourceLocation) -> ProjectError
Converts to this type from the input type.
Source§impl From<OptionsDecoderError> for ProjectError
impl From<OptionsDecoderError> for ProjectError
Source§fn from(source: OptionsDecoderError) -> ProjectError
fn from(source: OptionsDecoderError) -> ProjectError
Converts to this type from the input type.
Source§impl From<OptionsSlurperError> for ProjectError
impl From<OptionsSlurperError> for ProjectError
Source§fn from(source: OptionsSlurperError) -> ProjectError
fn from(source: OptionsSlurperError) -> ProjectError
Converts to this type from the input type.
Source§impl From<PluginError> for ProjectError
impl From<PluginError> for ProjectError
Source§fn from(source: PluginError) -> ProjectError
fn from(source: PluginError) -> ProjectError
Converts to this type from the input type.
Source§impl<G> From<PoisonError<G>> for ProjectError
impl<G> From<PoisonError<G>> for ProjectError
Source§fn from(_: PoisonError<G>) -> ProjectError
fn from(_: PoisonError<G>) -> ProjectError
Converts to this type from the input type.
Source§impl From<ProjectError> for PayloadError<BuildException>
impl From<ProjectError> for PayloadError<BuildException>
Source§fn from(e: ProjectError) -> PayloadError<BuildException>
fn from(e: ProjectError) -> PayloadError<BuildException>
Converts to this type from the input type.
Source§impl From<ProjectUrlError> for ProjectError
impl From<ProjectUrlError> for ProjectError
Source§fn from(source: ProjectUrlError) -> ProjectError
fn from(source: ProjectUrlError) -> ProjectError
Converts to this type from the input type.
Source§impl From<ProviderError> for ProjectError
impl From<ProviderError> for ProjectError
Source§fn from(source: ProviderError) -> ProjectError
fn from(source: ProviderError) -> ProjectError
Converts to this type from the input type.
Source§impl From<WorkspaceError> for ProjectError
impl From<WorkspaceError> for ProjectError
Source§fn from(source: WorkspaceError) -> ProjectError
fn from(source: WorkspaceError) -> ProjectError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProjectError
impl !RefUnwindSafe for ProjectError
impl Send for ProjectError
impl Sync for ProjectError
impl Unpin for ProjectError
impl !UnwindSafe for ProjectError
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
Source§impl<T> InstanceOf for T
impl<T> InstanceOf for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more