reflex-backend-socket-0.2.0.1: Reflex bindings for TCP sockets
Copyright(c) 2018-2019 Commonwealth Scientific and Industrial Research Organisation
LicenseBSD3
Maintainerdave.laing.80@gmail.com, jack.kelly@data61.csiro.au
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Reflex.Backend.Socket.Error

Description

 
Synopsis

Documentation

data SetupError Source #

If a "socket setup" fails (accept or connect), you'll inspect one of these to find out why.

Constructors

GetAddrInfoError IOException

Call to getAddrInfo failed.

UseAddrInfoError (NonEmpty (AddrInfo, IOException))

We failed to set up a socket with any AddrInfo we were given, and here are the corresponding exceptions each time we tried. For accept, this means either bind or listen failed, and for connect, this means Connect failed.

Instances

Instances details
Eq SetupError Source # 
Instance details

Defined in Reflex.Backend.Socket.Error

Show SetupError Source # 
Instance details

Defined in Reflex.Backend.Socket.Error

Generic SetupError Source # 
Instance details

Defined in Reflex.Backend.Socket.Error

Associated Types

type Rep SetupError :: Type -> Type #

type Rep SetupError Source # 
Instance details

Defined in Reflex.Backend.Socket.Error

type Rep SetupError = D1 ('MetaData "SetupError" "Reflex.Backend.Socket.Error" "reflex-backend-socket-0.2.0.1-HFYOj3ClYLVI2g5MjLBqwY" 'False) (C1 ('MetaCons "GetAddrInfoError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IOException)) :+: C1 ('MetaCons "UseAddrInfoError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty (AddrInfo, IOException)))))

Prisms

SetupError