Safe Haskell | None |
---|---|
Language | Haskell2010 |
- pattern UNKNOWN_ERR :: forall a. (Num a, Eq a) => a
- pattern DATABASE_ERR :: forall a. (Num a, Eq a) => a
- pattern VERSION_ERR :: forall a. (Num a, Eq a) => a
- pattern TOO_LARGE_ERR :: forall a. (Num a, Eq a) => a
- pattern QUOTA_ERR :: forall a. (Num a, Eq a) => a
- pattern SYNTAX_ERR :: forall a. (Num a, Eq a) => a
- pattern CONSTRAINT_ERR :: forall a. (Num a, Eq a) => a
- pattern TIMEOUT_ERR :: forall a. (Num a, Eq a) => a
- getCode :: MonadDOM m => SQLError -> m Word
- getMessage :: (MonadDOM m, FromJSString result) => SQLError -> m result
- newtype SQLError = SQLError {
- unSQLError :: JSVal
- gTypeSQLError :: JSM GType
Documentation
pattern UNKNOWN_ERR :: forall a. (Num a, Eq a) => a Source #
pattern DATABASE_ERR :: forall a. (Num a, Eq a) => a Source #
pattern VERSION_ERR :: forall a. (Num a, Eq a) => a Source #
pattern TOO_LARGE_ERR :: forall a. (Num a, Eq a) => a Source #
pattern SYNTAX_ERR :: forall a. (Num a, Eq a) => a Source #
pattern CONSTRAINT_ERR :: forall a. (Num a, Eq a) => a Source #
pattern TIMEOUT_ERR :: forall a. (Num a, Eq a) => a Source #
getMessage :: (MonadDOM m, FromJSString result) => SQLError -> m result Source #
Functions for this inteface are in JSDOM.SQLError.
gTypeSQLError :: JSM GType Source #