Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newErrorEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe ErrorEventInit -> m ErrorEvent
- getMessage :: (MonadDOM m, FromJSString result) => ErrorEvent -> m result
- getFilename :: (MonadDOM m, FromJSString result) => ErrorEvent -> m result
- getLineno :: MonadDOM m => ErrorEvent -> m Word
- getColno :: MonadDOM m => ErrorEvent -> m Word
- getError :: MonadDOM m => ErrorEvent -> m JSVal
- newtype ErrorEvent = ErrorEvent {}
- gTypeErrorEvent :: JSM GType
Documentation
newErrorEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe ErrorEventInit -> m ErrorEvent Source #
getMessage :: (MonadDOM m, FromJSString result) => ErrorEvent -> m result Source #
getFilename :: (MonadDOM m, FromJSString result) => ErrorEvent -> m result Source #
newtype ErrorEvent Source #
Functions for this inteface are in JSDOM.ErrorEvent. Base interface functions are in:
Instances
PToJSVal ErrorEvent Source # | |
Defined in JSDOM.Types pToJSVal :: ErrorEvent -> JSVal # | |
PFromJSVal ErrorEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> ErrorEvent # | |
ToJSVal ErrorEvent Source # | |
Defined in JSDOM.Types toJSVal :: ErrorEvent -> JSM JSVal # toJSValListOf :: [ErrorEvent] -> JSM JSVal # | |
FromJSVal ErrorEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe ErrorEvent) # fromJSValUnchecked :: JSVal -> JSM ErrorEvent # fromJSValListOf :: JSVal -> JSM (Maybe [ErrorEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [ErrorEvent] # | |
MakeObject ErrorEvent Source # | |
Defined in JSDOM.Types makeObject :: ErrorEvent -> JSM Object # | |
IsEvent ErrorEvent Source # | |
Defined in JSDOM.Types | |
IsGObject ErrorEvent Source # | |
Defined in JSDOM.Types typeGType :: ErrorEvent -> JSM GType |