| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bluetooth.Internal.Errors
- newtype Handler a = Handler {
- getReadValue :: ExceptT Text IO a
- runHandler :: Handler a -> IO (Either Text a)
- errorFailed :: Handler a
- errorInProgress :: Handler a
- errorNotPermitted :: Handler a
- errorNotAuthorized :: Handler a
- errorNotSupported :: Handler a
- errorInvalidValueLength :: Handler a
Documentation
Constructors
| Handler | |
Fields
| |
Instances
| Monad Handler Source # | |
| Functor Handler Source # | |
| Applicative Handler Source # | |
| MonadIO Handler Source # | |
| MonadError Text Handler Source # | |
| Generic (Handler a) Source # | |
| HasWriteValue (Characteristic typ0) (Maybe (typ0 -> Handler Bool)) Source # | |
| HasReadValue (Characteristic typ0) (Maybe (Handler typ0)) Source # | |
| type Rep (Handler a) Source # | |
errorFailed :: Handler a Source #
Generic failure
errorInProgress :: Handler a Source #
errorNotPermitted :: Handler a Source #
errorNotAuthorized :: Handler a Source #
errorNotSupported :: Handler a Source #
errorInvalidValueLength :: Handler a Source #
Indicates that the argument has invalid length. Should not be used from a read handler