Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newDOMException :: (MonadDOM m, ToJSString message, ToJSString name) => Maybe message -> Maybe name -> m DOMException
- toString :: (MonadDOM m, FromJSString result) => DOMException -> m result
- toString_ :: MonadDOM m => DOMException -> m ()
- pattern INDEX_SIZE_ERR :: forall a. (Eq a, Num a) => a
- pattern DOMSTRING_SIZE_ERR :: forall a. (Eq a, Num a) => a
- pattern HIERARCHY_REQUEST_ERR :: forall a. (Eq a, Num a) => a
- pattern WRONG_DOCUMENT_ERR :: forall a. (Eq a, Num a) => a
- pattern INVALID_CHARACTER_ERR :: forall a. (Eq a, Num a) => a
- pattern NO_DATA_ALLOWED_ERR :: forall a. (Eq a, Num a) => a
- pattern NO_MODIFICATION_ALLOWED_ERR :: forall a. (Eq a, Num a) => a
- pattern NOT_FOUND_ERR :: forall a. (Eq a, Num a) => a
- pattern NOT_SUPPORTED_ERR :: forall a. (Eq a, Num a) => a
- pattern INUSE_ATTRIBUTE_ERR :: forall a. (Eq a, Num a) => a
- pattern INVALID_STATE_ERR :: forall a. (Eq a, Num a) => a
- pattern SYNTAX_ERR :: forall a. (Eq a, Num a) => a
- pattern INVALID_MODIFICATION_ERR :: forall a. (Eq a, Num a) => a
- pattern NAMESPACE_ERR :: forall a. (Eq a, Num a) => a
- pattern INVALID_ACCESS_ERR :: forall a. (Eq a, Num a) => a
- pattern VALIDATION_ERR :: forall a. (Eq a, Num a) => a
- pattern TYPE_MISMATCH_ERR :: forall a. (Eq a, Num a) => a
- pattern SECURITY_ERR :: forall a. (Eq a, Num a) => a
- pattern NETWORK_ERR :: forall a. (Eq a, Num a) => a
- pattern ABORT_ERR :: forall a. (Eq a, Num a) => a
- pattern URL_MISMATCH_ERR :: forall a. (Eq a, Num a) => a
- pattern QUOTA_EXCEEDED_ERR :: forall a. (Eq a, Num a) => a
- pattern TIMEOUT_ERR :: forall a. (Eq a, Num a) => a
- pattern INVALID_NODE_TYPE_ERR :: forall a. (Eq a, Num a) => a
- pattern DATA_CLONE_ERR :: forall a. (Eq a, Num a) => a
- getCode :: MonadDOM m => DOMException -> m Word
- getName :: (MonadDOM m, FromJSString result) => DOMException -> m result
- getMessage :: (MonadDOM m, FromJSString result) => DOMException -> m result
- newtype DOMException = DOMException {}
- gTypeDOMException :: JSM GType
Documentation
newDOMException :: (MonadDOM m, ToJSString message, ToJSString name) => Maybe message -> Maybe name -> m DOMException Source #
toString :: (MonadDOM m, FromJSString result) => DOMException -> m result Source #
toString_ :: MonadDOM m => DOMException -> m () Source #
pattern INDEX_SIZE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern DOMSTRING_SIZE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern HIERARCHY_REQUEST_ERR :: forall a. (Eq a, Num a) => a Source #
pattern WRONG_DOCUMENT_ERR :: forall a. (Eq a, Num a) => a Source #
pattern INVALID_CHARACTER_ERR :: forall a. (Eq a, Num a) => a Source #
pattern NO_DATA_ALLOWED_ERR :: forall a. (Eq a, Num a) => a Source #
pattern NO_MODIFICATION_ALLOWED_ERR :: forall a. (Eq a, Num a) => a Source #
pattern NOT_FOUND_ERR :: forall a. (Eq a, Num a) => a Source #
pattern NOT_SUPPORTED_ERR :: forall a. (Eq a, Num a) => a Source #
pattern INUSE_ATTRIBUTE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern INVALID_STATE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern SYNTAX_ERR :: forall a. (Eq a, Num a) => a Source #
pattern INVALID_MODIFICATION_ERR :: forall a. (Eq a, Num a) => a Source #
pattern NAMESPACE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern INVALID_ACCESS_ERR :: forall a. (Eq a, Num a) => a Source #
pattern VALIDATION_ERR :: forall a. (Eq a, Num a) => a Source #
pattern TYPE_MISMATCH_ERR :: forall a. (Eq a, Num a) => a Source #
pattern SECURITY_ERR :: forall a. (Eq a, Num a) => a Source #
pattern NETWORK_ERR :: forall a. (Eq a, Num a) => a Source #
pattern URL_MISMATCH_ERR :: forall a. (Eq a, Num a) => a Source #
pattern QUOTA_EXCEEDED_ERR :: forall a. (Eq a, Num a) => a Source #
pattern TIMEOUT_ERR :: forall a. (Eq a, Num a) => a Source #
pattern INVALID_NODE_TYPE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern DATA_CLONE_ERR :: forall a. (Eq a, Num a) => a Source #
getName :: (MonadDOM m, FromJSString result) => DOMException -> m result Source #
getMessage :: (MonadDOM m, FromJSString result) => DOMException -> m result Source #
newtype DOMException Source #
Functions for this inteface are in JSDOM.DOMException.
Instances
PToJSVal DOMException Source # | |
Defined in JSDOM.Types pToJSVal :: DOMException -> JSVal # | |
PFromJSVal DOMException Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> DOMException # | |
ToJSVal DOMException Source # | |
Defined in JSDOM.Types toJSVal :: DOMException -> JSM JSVal # toJSValListOf :: [DOMException] -> JSM JSVal # | |
FromJSVal DOMException Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe DOMException) # fromJSValUnchecked :: JSVal -> JSM DOMException # fromJSValListOf :: JSVal -> JSM (Maybe [DOMException]) # fromJSValUncheckedListOf :: JSVal -> JSM [DOMException] # | |
MakeObject DOMException Source # | |
Defined in JSDOM.Types makeObject :: DOMException -> JSM Object # | |
IsGObject DOMException Source # | |
Defined in JSDOM.Types typeGType :: DOMException -> JSM GType |