Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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. (Num a, Eq a) => a
- pattern DOMSTRING_SIZE_ERR :: forall a. (Num a, Eq a) => a
- pattern HIERARCHY_REQUEST_ERR :: forall a. (Num a, Eq a) => a
- pattern WRONG_DOCUMENT_ERR :: forall a. (Num a, Eq a) => a
- pattern INVALID_CHARACTER_ERR :: forall a. (Num a, Eq a) => a
- pattern NO_DATA_ALLOWED_ERR :: forall a. (Num a, Eq a) => a
- pattern NO_MODIFICATION_ALLOWED_ERR :: forall a. (Num a, Eq a) => a
- pattern NOT_FOUND_ERR :: forall a. (Num a, Eq a) => a
- pattern NOT_SUPPORTED_ERR :: forall a. (Num a, Eq a) => a
- pattern INUSE_ATTRIBUTE_ERR :: forall a. (Num a, Eq a) => a
- pattern INVALID_STATE_ERR :: forall a. (Num a, Eq a) => a
- pattern SYNTAX_ERR :: forall a. (Num a, Eq a) => a
- pattern INVALID_MODIFICATION_ERR :: forall a. (Num a, Eq a) => a
- pattern NAMESPACE_ERR :: forall a. (Num a, Eq a) => a
- pattern INVALID_ACCESS_ERR :: forall a. (Num a, Eq a) => a
- pattern VALIDATION_ERR :: forall a. (Num a, Eq a) => a
- pattern TYPE_MISMATCH_ERR :: forall a. (Num a, Eq a) => a
- pattern SECURITY_ERR :: forall a. (Num a, Eq a) => a
- pattern NETWORK_ERR :: forall a. (Num a, Eq a) => a
- pattern ABORT_ERR :: forall a. (Num a, Eq a) => a
- pattern URL_MISMATCH_ERR :: forall a. (Num a, Eq a) => a
- pattern QUOTA_EXCEEDED_ERR :: forall a. (Num a, Eq a) => a
- pattern TIMEOUT_ERR :: forall a. (Num a, Eq a) => a
- pattern INVALID_NODE_TYPE_ERR :: forall a. (Num a, Eq a) => a
- pattern DATA_CLONE_ERR :: forall a. (Num a, Eq 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. (Num a, Eq a) => a Source #
pattern DOMSTRING_SIZE_ERR :: forall a. (Num a, Eq a) => a Source #
pattern HIERARCHY_REQUEST_ERR :: forall a. (Num a, Eq a) => a Source #
pattern WRONG_DOCUMENT_ERR :: forall a. (Num a, Eq a) => a Source #
pattern INVALID_CHARACTER_ERR :: forall a. (Num a, Eq a) => a Source #
pattern NO_DATA_ALLOWED_ERR :: forall a. (Num a, Eq a) => a Source #
pattern NO_MODIFICATION_ALLOWED_ERR :: forall a. (Num a, Eq a) => a Source #
pattern NOT_FOUND_ERR :: forall a. (Num a, Eq a) => a Source #
pattern NOT_SUPPORTED_ERR :: forall a. (Num a, Eq a) => a Source #
pattern INUSE_ATTRIBUTE_ERR :: forall a. (Num a, Eq a) => a Source #
pattern INVALID_STATE_ERR :: forall a. (Num a, Eq a) => a Source #
pattern SYNTAX_ERR :: forall a. (Num a, Eq a) => a Source #
pattern INVALID_MODIFICATION_ERR :: forall a. (Num a, Eq a) => a Source #
pattern NAMESPACE_ERR :: forall a. (Num a, Eq a) => a Source #
pattern INVALID_ACCESS_ERR :: forall a. (Num a, Eq a) => a Source #
pattern VALIDATION_ERR :: forall a. (Num a, Eq a) => a Source #
pattern TYPE_MISMATCH_ERR :: forall a. (Num a, Eq a) => a Source #
pattern SECURITY_ERR :: forall a. (Num a, Eq a) => a Source #
pattern NETWORK_ERR :: forall a. (Num a, Eq a) => a Source #
pattern URL_MISMATCH_ERR :: forall a. (Num a, Eq a) => a Source #
pattern QUOTA_EXCEEDED_ERR :: forall a. (Num a, Eq a) => a Source #
pattern TIMEOUT_ERR :: forall a. (Num a, Eq a) => a Source #
pattern INVALID_NODE_TYPE_ERR :: forall a. (Num a, Eq a) => a Source #
pattern DATA_CLONE_ERR :: forall a. (Num a, Eq 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.