pub enum ErrorName {
Show 13 variants
Error,
TypeError,
RangeError,
ReferenceError,
SyntaxError,
NotAllowedError,
QuotaExceededError,
AbortError,
SecurityError,
NotFoundError,
OtherDomException,
Panic,
Other,
}Expand description
例外の種類。決まった一覧に無いものは other。
Variants§
Error
TypeError
RangeError
ReferenceError
SyntaxError
NotAllowedError
DOMException の NotAllowedError(クリップボード・フォルダの許可など)。
QuotaExceededError
DOMException の QuotaExceededError(保存領域の不足)。
AbortError
DOMException の AbortError。
SecurityError
DOMException の SecurityError。
NotFoundError
DOMException の NotFoundError。
OtherDomException
そのほかの DOMException。
Panic
wasm の panic など、名前の無いもの。
Other
Trait Implementations§
impl Copy for ErrorName
Source§impl<'de> Deserialize<'de> for ErrorName
impl<'de> Deserialize<'de> for ErrorName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ErrorName
impl StructuralPartialEq for ErrorName
Auto Trait Implementations§
impl Forget for ErrorName
impl Freeze for ErrorName
impl Move for ErrorName
impl RefUnwindSafe for ErrorName
impl Send for ErrorName
impl Sync for ErrorName
impl Unpin for ErrorName
impl UnsafeUnpin for ErrorName
impl UnwindSafe for ErrorName
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