pub enum CompilerError {
CantWriteArray,
ContentTagInOutput,
UndefinedVariable,
CantWriteNoneValue,
CantWriteGenericValue,
UnsetArgNoDefault(String),
UndefinedMacroCall,
TriedCompileUnregistered(KisTokenId),
PluginError(String),
PluginDoesntExist(String),
ExtismError(String),
}Variants§
CantWriteArray
ContentTagInOutput
UndefinedVariable
CantWriteNoneValue
CantWriteGenericValue
UnsetArgNoDefault(String)
UndefinedMacroCall
TriedCompileUnregistered(KisTokenId)
PluginError(String)
PluginDoesntExist(String)
ExtismError(String)
Trait Implementations§
Source§impl Clone for CompilerError
impl Clone for CompilerError
Source§fn clone(&self) -> CompilerError
fn clone(&self) -> CompilerError
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 CompilerError
impl Debug for CompilerError
Source§impl ErrorKind for CompilerError
impl ErrorKind for CompilerError
fn get_text(&self) -> String
fn with_state_at(self, position: MultilineRange) -> ErrorState<Self>
fn with_scope_at( self, scope: KisTokenId, position: MultilineRange, ) -> MaybeUnscoped<Self>
fn stateless(self) -> StatelessError<Self>
fn unscoped(self) -> MaybeUnscoped<Self>
Auto Trait Implementations§
impl Freeze for CompilerError
impl RefUnwindSafe for CompilerError
impl Send for CompilerError
impl Sync for CompilerError
impl Unpin for CompilerError
impl UnsafeUnpin for CompilerError
impl UnwindSafe for CompilerError
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