Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern UNKNOWN_ERR :: forall a. (Eq a, Num a) => a
- pattern DATABASE_ERR :: forall a. (Eq a, Num a) => a
- pattern VERSION_ERR :: forall a. (Eq a, Num a) => a
- pattern TOO_LARGE_ERR :: forall a. (Eq a, Num a) => a
- pattern QUOTA_ERR :: forall a. (Eq a, Num a) => a
- pattern SYNTAX_ERR :: forall a. (Eq a, Num a) => a
- pattern CONSTRAINT_ERR :: forall a. (Eq a, Num a) => a
- pattern TIMEOUT_ERR :: forall a. (Eq a, Num 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. (Eq a, Num a) => a Source #
pattern DATABASE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern VERSION_ERR :: forall a. (Eq a, Num a) => a Source #
pattern TOO_LARGE_ERR :: forall a. (Eq a, Num a) => a Source #
pattern SYNTAX_ERR :: forall a. (Eq a, Num a) => a Source #
pattern CONSTRAINT_ERR :: forall a. (Eq a, Num a) => a Source #
pattern TIMEOUT_ERR :: forall a. (Eq a, Num a) => a Source #
getMessage :: (MonadDOM m, FromJSString result) => SQLError -> m result Source #
Functions for this inteface are in JSDOM.SQLError.
Instances
PToJSVal SQLError Source # | |
Defined in JSDOM.Types | |
PFromJSVal SQLError Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> SQLError # | |
ToJSVal SQLError Source # | |
FromJSVal SQLError Source # | |
MakeObject SQLError Source # | |
Defined in JSDOM.Types makeObject :: SQLError -> JSM Object # | |
IsGObject SQLError Source # | |
Defined in JSDOM.Types |
gTypeSQLError :: JSM GType Source #