pub enum TsError {
TypeError(String),
ReferenceError(String),
SyntaxError(String),
RangeError(String),
Other(String),
}Expand description
TypeScript 错误类型枚举
Variants§
TypeError(String)
类型错误
ReferenceError(String)
引用错误
SyntaxError(String)
语法错误
RangeError(String)
范围错误
Other(String)
其他错误
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TsError
impl RefUnwindSafe for TsError
impl Send for TsError
impl Sync for TsError
impl Unpin for TsError
impl UnsafeUnpin for TsError
impl UnwindSafe for TsError
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