pub enum LowerError {
Unparsable {
message: String,
},
UnsupportedFile {
message: String,
},
TooLarge,
DeclarationOnly,
MemoryLimitExceeded {
plugin: String,
memory_mb: u64,
},
TimeLimitExceeded {
plugin: String,
timeout_ms: u64,
},
Contract(LanguagePluginError),
}Variants§
Unparsable
UnsupportedFile
TooLarge
DeclarationOnly
MemoryLimitExceeded
TimeLimitExceeded
Contract(LanguagePluginError)
Trait Implementations§
Source§impl Debug for LowerError
impl Debug for LowerError
Source§impl Display for LowerError
impl Display for LowerError
Source§impl Error for LowerError
impl Error for LowerError
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<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.
Source§impl From<LowerError> for LowerError
impl From<LowerError> for LowerError
Source§fn from(error: LowerError) -> LowerError
fn from(error: LowerError) -> LowerError
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for LowerError
impl Freeze for LowerError
impl Move for LowerError
impl RefUnwindSafe for LowerError
impl Send for LowerError
impl Sync for LowerErrorwhere
RawVecInner: Sync,
impl Unpin for LowerError
impl UnsafeUnpin for LowerError
impl UnwindSafe for LowerError
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