Copyright | (c) 2009–2014 Bas van Dijk |
---|---|
License | BSD3 (see the file LICENSE) |
Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
Safe Haskell | Trustworthy |
Language | Haskell98 |
Documentation
data USBException Source
Type of USB exceptions.
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 |
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 |
PipeException | Pipe exception. |
InterruptedException | System call interrupted (perhaps due to signal). |
NoMemException | Insufficient memory. |
NotSupportedException | Operation not supported or unimplemented on this
platform. If possible, it's recommended the check
if a certain operation is supported by using the
|
OtherException | Other exception. |
ioException :: USBException Source
A general IOException
.
incompleteReadException :: USBException Source
IOException
that is thrown when the number of bytes read
doesn't equal the requested number.
incompleteWriteException :: USBException Source
IOException
that is thrown when the number of bytes written
doesn't equal the requested number.