usb-1.1.0.1: Communicate with USB devices

MaintainerBas van Dijk <v.dijk.bas@gmail.com>
Safe HaskellTrustworthy

System.USB.Exceptions

Description

 

Synopsis

Documentation

data USBException Source

Type of USB exceptions.

Constructors

IOException String

Input/output exception.

InvalidParamException

Invalid parameter.

AccessException

Access denied (insufficient permissions). It may help to run your program with elevated privileges or change the permissions of your device using something like udev.

NoDeviceException

No such device (it may have been disconnected).

NotFoundException

Entity not found.

BusyException

Resource busy.

TimeoutException

Operation timed out.

OverflowException

If the device offered to much data. See Packets and overflows in the libusb documentation: http://libusb.sourceforge.net/api-1.0/packetoverflow.html

PipeException

Pipe exception.

InterruptedException

System call interrupted (perhaps due to signal).

NoMemException

Insufficient memory.

NotSupportedException

Operation not supported or unimplemented on this platform.

OtherException

Other exception.

incompleteReadException :: USBExceptionSource

IOException that is thrown when the number of bytes read doesn't equal the requested number.

incompleteWriteException :: USBExceptionSource

IOException that is thrown when the number of bytes written doesn't equal the requested number.