| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.WebProxyCarrierError
Documentation
data WebProxyCarrierError Source #
Describes the reason why a web proxy carrier failed
Constructors
| WebProxyCarrierErrorUnsupported | The application can't open the carrier, because the platform can't create hidden web views or define the bridge object; TDLib will not retry until the proxy is enabled again |
| WebProxyCarrierErrorPaused | The application can't open the carrier now, for example, because it is in the background; TDLib will request it again after the next call to setNetworkType or after a delay |
| WebProxyCarrierErrorLoadFailed | The page failed to load: a network, TLS, or HTTP error, or a forbidden navigation |
| WebProxyCarrierErrorTerminated | The web view or its renderer process was terminated, or passing data between the application and the page failed |
| WebProxyCarrierErrorRefused | The application refused to open a temporary carrier |
Instances
| FromJSON WebProxyCarrierError Source # | |
Defined in TD.Data.WebProxyCarrierError Methods parseJSON :: Value -> Parser WebProxyCarrierError # parseJSONList :: Value -> Parser [WebProxyCarrierError] # | |
| ToJSON WebProxyCarrierError Source # | |
Defined in TD.Data.WebProxyCarrierError Methods toJSON :: WebProxyCarrierError -> Value # toEncoding :: WebProxyCarrierError -> Encoding # toJSONList :: [WebProxyCarrierError] -> Value # toEncodingList :: [WebProxyCarrierError] -> Encoding # | |
| Show WebProxyCarrierError Source # | |
Defined in TD.Data.WebProxyCarrierError Methods showsPrec :: Int -> WebProxyCarrierError -> ShowS # show :: WebProxyCarrierError -> String # showList :: [WebProxyCarrierError] -> ShowS # | |
| Eq WebProxyCarrierError Source # | |
Defined in TD.Data.WebProxyCarrierError Methods (==) :: WebProxyCarrierError -> WebProxyCarrierError -> Bool # (/=) :: WebProxyCarrierError -> WebProxyCarrierError -> Bool # | |
| ShortShow WebProxyCarrierError Source # | |
Defined in TD.Data.WebProxyCarrierError Methods | |