pub enum LanguagePluginError {
Show 30 variants
InvalidEntryPointPath {
path: String,
},
UnknownEntryPoint {
path: String,
},
InvalidGeneratedPath {
path: String,
},
UnknownGeneratedPath {
path: String,
},
UnlistedFrameworkProfile {
profile: String,
},
FrameworkProfile {
message: String,
},
InvalidFrameworkReferenceRange(InvalidReferenceRange),
InvalidReferenceRange(InvalidReferenceRange),
InvalidDependencyPackageRoot {
package_root: String,
},
EmptyDependencyName {
package_root: String,
},
InvalidWorkspacePackageRoot {
path: String,
},
UnknownInvalidManifest {
path: String,
message: String,
},
DuplicateInvalidManifest {
path: String,
},
InvalidDependencyManifestPath {
path: String,
},
UnknownDependencyManifest {
path: String,
},
InvalidAndDependencyManifest {
path: String,
},
InvalidInheritancePackageRoot {
package_root: String,
},
TimeLimitExceeded {
plugin: String,
timeout_ms: u64,
},
MemoryLimitExceeded {
plugin: String,
memory_mb: u64,
},
Call {
plugin: String,
call: &'static str,
reason: String,
},
HazardLineOutOfRange {
plugin: String,
path: RepoPath,
line: u32,
line_count: usize,
},
UnlistedHazardRule {
plugin: String,
path: RepoPath,
rule: String,
},
FlaggedLineOutOfRange {
plugin: String,
path: RepoPath,
line: u32,
line_count: usize,
},
UnlistedFlaggedLineRule {
plugin: String,
path: RepoPath,
rule: String,
},
InvalidScopeHazardPath {
plugin: String,
path: String,
},
UnknownScopeHazardPath {
plugin: String,
path: String,
},
InvalidScopeHazardLine {
plugin: String,
path: RepoPath,
line: u32,
},
InvalidScopeSummary {
plugin: String,
reason: String,
},
DiagnosticLineOutOfRange {
plugin: String,
path: RepoPath,
line: u32,
line_count: usize,
},
InvalidDiagnostic {
plugin: String,
path: RepoPath,
reason: &'static str,
},
}Variants§
InvalidEntryPointPath
UnknownEntryPoint
InvalidGeneratedPath
UnknownGeneratedPath
UnlistedFrameworkProfile
FrameworkProfile
InvalidFrameworkReferenceRange(InvalidReferenceRange)
InvalidReferenceRange(InvalidReferenceRange)
InvalidDependencyPackageRoot
EmptyDependencyName
InvalidWorkspacePackageRoot
UnknownInvalidManifest
DuplicateInvalidManifest
InvalidDependencyManifestPath
UnknownDependencyManifest
InvalidAndDependencyManifest
InvalidInheritancePackageRoot
TimeLimitExceeded
MemoryLimitExceeded
Call
HazardLineOutOfRange
UnlistedHazardRule
FlaggedLineOutOfRange
UnlistedFlaggedLineRule
InvalidScopeHazardPath
UnknownScopeHazardPath
InvalidScopeHazardLine
InvalidScopeSummary
DiagnosticLineOutOfRange
InvalidDiagnostic
Trait Implementations§
Source§impl Debug for LanguagePluginError
impl Debug for LanguagePluginError
Source§impl Display for LanguagePluginError
impl Display for LanguagePluginError
Source§impl Error for LanguagePluginError
impl Error for LanguagePluginError
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<InvalidReferenceRange> for LanguagePluginError
impl From<InvalidReferenceRange> for LanguagePluginError
Source§fn from(source: InvalidReferenceRange) -> Self
fn from(source: InvalidReferenceRange) -> Self
Converts to this type from the input type.
Source§impl From<LanguagePluginError> for ResolveError
impl From<LanguagePluginError> for ResolveError
Source§fn from(source: LanguagePluginError) -> Self
fn from(source: LanguagePluginError) -> Self
Converts to this type from the input type.
Source§impl From<LanguagePluginError> for LowerError
impl From<LanguagePluginError> for LowerError
Source§fn from(source: LanguagePluginError) -> Self
fn from(source: LanguagePluginError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for LanguagePluginError
impl Freeze for LanguagePluginError
impl Move for LanguagePluginError
impl RefUnwindSafe for LanguagePluginError
impl Send for LanguagePluginError
impl Sync for LanguagePluginErrorwhere
RawVecInner: Sync,
impl Unpin for LanguagePluginError
impl UnsafeUnpin for LanguagePluginError
impl UnwindSafe for LanguagePluginError
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