Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getName :: (MonadDOM m, IsDOMError self, FromJSString result) => self -> m result
- getMessage :: (MonadDOM m, IsDOMError self, FromJSString result) => self -> m result
- newtype DOMError = DOMError {
- unDOMError :: JSVal
- gTypeDOMError :: JSM GType
- class IsGObject o => IsDOMError o
- toDOMError :: IsDOMError o => o -> DOMError
Documentation
getName :: (MonadDOM m, IsDOMError self, FromJSString result) => self -> m result Source #
getMessage :: (MonadDOM m, IsDOMError self, FromJSString result) => self -> m result Source #
Functions for this inteface are in JSDOM.DOMError.
Instances
PToJSVal DOMError Source # | |
Defined in JSDOM.Types | |
PFromJSVal DOMError Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> DOMError # | |
ToJSVal DOMError Source # | |
FromJSVal DOMError Source # | |
MakeObject DOMError Source # | |
Defined in JSDOM.Types makeObject :: DOMError -> JSM Object # | |
IsDOMError DOMError Source # | |
Defined in JSDOM.Types | |
IsGObject DOMError Source # | |
Defined in JSDOM.Types |
gTypeDOMError :: JSM GType Source #
class IsGObject o => IsDOMError o Source #
Instances
IsDOMError NavigatorUserMediaError Source # | |
Defined in JSDOM.Types | |
IsDOMError DOMError Source # | |
Defined in JSDOM.Types |
toDOMError :: IsDOMError o => o -> DOMError Source #