#[non_exhaustive]pub enum AppErrorKind {
Load,
Uncaught,
Stopped,
HotUpdate,
Asset,
}Expand description
What went wrong (AppError::kind).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Load
The app did not start: its VM could not be made, or evaluating the bundle threw (a missing module, an exception at the top level).
Uncaught
An exception escaped a callback (an event handler, a timer, a promise). The app keeps running.
Stopped
The VM was stopped: it ran out of memory, went over a quota or sent an invalid op. No JS of the app runs again and its views stay as they were. Reported once.
HotUpdate
A development update could not be evaluated; the app keeps the modules that ran.
Asset
A file the app needs (a font) could not be loaded.
Trait Implementations§
Source§impl Clone for AppErrorKind
impl Clone for AppErrorKind
impl Copy for AppErrorKind
Source§impl Debug for AppErrorKind
impl Debug for AppErrorKind
impl Eq for AppErrorKind
Source§impl Hash for AppErrorKind
impl Hash for AppErrorKind
Source§impl PartialEq for AppErrorKind
impl PartialEq for AppErrorKind
impl StructuralPartialEq for AppErrorKind
Auto Trait Implementations§
impl Forget for AppErrorKind
impl Freeze for AppErrorKind
impl Move for AppErrorKind
impl RefUnwindSafe for AppErrorKind
impl Send for AppErrorKind
impl Sync for AppErrorKind
impl Unpin for AppErrorKind
impl UnsafeUnpin for AppErrorKind
impl UnwindSafe for AppErrorKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.