Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- catchTlsError :: IO a -> (TlsError -> GErrorMessage -> IO a) -> IO a
- handleTlsError :: (TlsError -> GErrorMessage -> IO a) -> IO a -> IO a
- catchResourceError :: IO a -> (ResourceError -> GErrorMessage -> IO a) -> IO a
- handleResourceError :: (ResourceError -> GErrorMessage -> IO a) -> IO a -> IO a
- catchResolverError :: IO a -> (ResolverError -> GErrorMessage -> IO a) -> IO a
- handleResolverError :: (ResolverError -> GErrorMessage -> IO a) -> IO a -> IO a
- catchIOErrorEnum :: IO a -> (IOErrorEnum -> GErrorMessage -> IO a) -> IO a
- handleIOErrorEnum :: (IOErrorEnum -> GErrorMessage -> IO a) -> IO a -> IO a
- catchDBusError :: IO a -> (DBusError -> GErrorMessage -> IO a) -> IO a
- handleDBusError :: (DBusError -> GErrorMessage -> IO a) -> IO a -> IO a
- data ZlibCompressorFormat
- data UnixSocketAddressType
- data TlsRehandshakeMode
- data TlsInteractionResult
- data TlsError
- data TlsDatabaseLookupFlags
- data TlsCertificateRequestFlags
- data TlsAuthenticationMode
- data SocketType
- data SocketProtocol
- data SocketListenerEvent
- data SocketFamily
- data SocketClientEvent
- = SocketClientEventResolving
- | SocketClientEventResolved
- | SocketClientEventConnecting
- | SocketClientEventConnected
- | SocketClientEventProxyNegotiating
- | SocketClientEventProxyNegotiated
- | SocketClientEventTlsHandshaking
- | SocketClientEventTlsHandshaked
- | SocketClientEventComplete
- | AnotherSocketClientEvent Int
- data ResourceError
- data ResolverRecordType
- data ResolverError
- data PasswordSave
- data NotificationPriority
- data NetworkConnectivity
- data MountOperationResult
- data IOModuleScopeFlags
- data IOErrorEnum
- = IOErrorEnumFailed
- | IOErrorEnumNotFound
- | IOErrorEnumExists
- | IOErrorEnumIsDirectory
- | IOErrorEnumNotDirectory
- | IOErrorEnumNotEmpty
- | IOErrorEnumNotRegularFile
- | IOErrorEnumNotSymbolicLink
- | IOErrorEnumNotMountableFile
- | IOErrorEnumFilenameTooLong
- | IOErrorEnumInvalidFilename
- | IOErrorEnumTooManyLinks
- | IOErrorEnumNoSpace
- | IOErrorEnumInvalidArgument
- | IOErrorEnumPermissionDenied
- | IOErrorEnumNotSupported
- | IOErrorEnumNotMounted
- | IOErrorEnumAlreadyMounted
- | IOErrorEnumClosed
- | IOErrorEnumCancelled
- | IOErrorEnumPending
- | IOErrorEnumReadOnly
- | IOErrorEnumCantCreateBackup
- | IOErrorEnumWrongEtag
- | IOErrorEnumTimedOut
- | IOErrorEnumWouldRecurse
- | IOErrorEnumBusy
- | IOErrorEnumWouldBlock
- | IOErrorEnumHostNotFound
- | IOErrorEnumWouldMerge
- | IOErrorEnumFailedHandled
- | IOErrorEnumTooManyOpenFiles
- | IOErrorEnumNotInitialized
- | IOErrorEnumAddressInUse
- | IOErrorEnumPartialInput
- | IOErrorEnumInvalidData
- | IOErrorEnumDbusError
- | IOErrorEnumHostUnreachable
- | IOErrorEnumNetworkUnreachable
- | IOErrorEnumConnectionRefused
- | IOErrorEnumProxyFailed
- | IOErrorEnumProxyAuthFailed
- | IOErrorEnumProxyNeedAuth
- | IOErrorEnumProxyNotAllowed
- | IOErrorEnumBrokenPipe
- | IOErrorEnumConnectionClosed
- | IOErrorEnumNotConnected
- | AnotherIOErrorEnum Int
- data FilesystemPreviewType
- data FileType
- data FileMonitorEvent
- = FileMonitorEventChanged
- | FileMonitorEventChangesDoneHint
- | FileMonitorEventDeleted
- | FileMonitorEventCreated
- | FileMonitorEventAttributeChanged
- | FileMonitorEventPreUnmount
- | FileMonitorEventUnmounted
- | FileMonitorEventMoved
- | FileMonitorEventRenamed
- | FileMonitorEventMovedIn
- | FileMonitorEventMovedOut
- | AnotherFileMonitorEvent Int
- data FileAttributeType
- data FileAttributeStatus
- data EmblemOrigin
- data DriveStartStopType
- data DataStreamNewlineType
- data DataStreamByteOrder
- data DBusMessageType
- data DBusMessageHeaderField
- = DBusMessageHeaderFieldInvalid
- | DBusMessageHeaderFieldPath
- | DBusMessageHeaderFieldInterface
- | DBusMessageHeaderFieldMember
- | DBusMessageHeaderFieldErrorName
- | DBusMessageHeaderFieldReplySerial
- | DBusMessageHeaderFieldDestination
- | DBusMessageHeaderFieldSender
- | DBusMessageHeaderFieldSignature
- | DBusMessageHeaderFieldNumUnixFds
- | AnotherDBusMessageHeaderField Int
- data DBusMessageByteOrder
- data DBusError
- = DBusErrorFailed
- | DBusErrorNoMemory
- | DBusErrorServiceUnknown
- | DBusErrorNameHasNoOwner
- | DBusErrorNoReply
- | DBusErrorIoError
- | DBusErrorBadAddress
- | DBusErrorNotSupported
- | DBusErrorLimitsExceeded
- | DBusErrorAccessDenied
- | DBusErrorAuthFailed
- | DBusErrorNoServer
- | DBusErrorTimeout
- | DBusErrorNoNetwork
- | DBusErrorAddressInUse
- | DBusErrorDisconnected
- | DBusErrorInvalidArgs
- | DBusErrorFileNotFound
- | DBusErrorFileExists
- | DBusErrorUnknownMethod
- | DBusErrorTimedOut
- | DBusErrorMatchRuleNotFound
- | DBusErrorMatchRuleInvalid
- | DBusErrorSpawnExecFailed
- | DBusErrorSpawnForkFailed
- | DBusErrorSpawnChildExited
- | DBusErrorSpawnChildSignaled
- | DBusErrorSpawnFailed
- | DBusErrorSpawnSetupFailed
- | DBusErrorSpawnConfigInvalid
- | DBusErrorSpawnServiceInvalid
- | DBusErrorSpawnServiceNotFound
- | DBusErrorSpawnPermissionsInvalid
- | DBusErrorSpawnFileInvalid
- | DBusErrorSpawnNoMemory
- | DBusErrorUnixProcessIdUnknown
- | DBusErrorInvalidSignature
- | DBusErrorInvalidFileContent
- | DBusErrorSelinuxSecurityContextUnknown
- | DBusErrorAdtAuditDataUnknown
- | DBusErrorObjectPathInUse
- | DBusErrorUnknownObject
- | DBusErrorUnknownInterface
- | DBusErrorUnknownProperty
- | DBusErrorPropertyReadOnly
- | AnotherDBusError Int
- data CredentialsType
- data ConverterResult
- data BusType
Documentation
catchTlsError :: IO a -> (TlsError -> GErrorMessage -> IO a) -> IO a Source
handleTlsError :: (TlsError -> GErrorMessage -> IO a) -> IO a -> IO a Source
catchResourceError :: IO a -> (ResourceError -> GErrorMessage -> IO a) -> IO a Source
handleResourceError :: (ResourceError -> GErrorMessage -> IO a) -> IO a -> IO a Source
catchResolverError :: IO a -> (ResolverError -> GErrorMessage -> IO a) -> IO a Source
handleResolverError :: (ResolverError -> GErrorMessage -> IO a) -> IO a -> IO a Source
catchIOErrorEnum :: IO a -> (IOErrorEnum -> GErrorMessage -> IO a) -> IO a Source
handleIOErrorEnum :: (IOErrorEnum -> GErrorMessage -> IO a) -> IO a -> IO a Source
catchDBusError :: IO a -> (DBusError -> GErrorMessage -> IO a) -> IO a Source
handleDBusError :: (DBusError -> GErrorMessage -> IO a) -> IO a -> IO a Source
Exported types
data TlsRehandshakeMode Source
data SocketType Source
data SocketProtocol Source
data SocketFamily Source
data SocketClientEvent Source
data ResourceError Source
data ResolverRecordType Source
data ResolverError Source
data PasswordSave Source
data IOModuleScopeFlags Source
data IOErrorEnum Source
data FileMonitorEvent Source
data FileAttributeType Source
data EmblemOrigin Source
data DriveStartStopType Source
data DBusMessageType Source
data DBusMessageHeaderField Source
data CredentialsType Source