Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newApplePayError :: (MonadDOM m, ToJSString message) => ApplePayErrorCode -> Maybe ApplePayErrorContactField -> Maybe message -> m ApplePayError
- setCode :: MonadDOM m => ApplePayError -> ApplePayErrorCode -> m ()
- getCode :: MonadDOM m => ApplePayError -> m ApplePayErrorCode
- setContactField :: MonadDOM m => ApplePayError -> Maybe ApplePayErrorContactField -> m ()
- getContactField :: MonadDOM m => ApplePayError -> m (Maybe ApplePayErrorContactField)
- getContactFieldUnsafe :: (MonadDOM m, HasCallStack) => ApplePayError -> m ApplePayErrorContactField
- getContactFieldUnchecked :: MonadDOM m => ApplePayError -> m ApplePayErrorContactField
- setMessage :: (MonadDOM m, ToJSString val) => ApplePayError -> val -> m ()
- getMessage :: (MonadDOM m, FromJSString result) => ApplePayError -> m result
- newtype ApplePayError = ApplePayError {}
- gTypeApplePayError :: JSM GType
Documentation
newApplePayError :: (MonadDOM m, ToJSString message) => ApplePayErrorCode -> Maybe ApplePayErrorContactField -> Maybe message -> m ApplePayError Source #
setCode :: MonadDOM m => ApplePayError -> ApplePayErrorCode -> m () Source #
getCode :: MonadDOM m => ApplePayError -> m ApplePayErrorCode Source #
setContactField :: MonadDOM m => ApplePayError -> Maybe ApplePayErrorContactField -> m () Source #
getContactField :: MonadDOM m => ApplePayError -> m (Maybe ApplePayErrorContactField) Source #
getContactFieldUnsafe :: (MonadDOM m, HasCallStack) => ApplePayError -> m ApplePayErrorContactField Source #
setMessage :: (MonadDOM m, ToJSString val) => ApplePayError -> val -> m () Source #
getMessage :: (MonadDOM m, FromJSString result) => ApplePayError -> m result Source #
newtype ApplePayError Source #
Functions for this inteface are in JSDOM.ApplePayError.