| Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
|---|---|
| Safe Haskell | Trustworthy |
System.USB.Exceptions
Description
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 |
| 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. |
| OtherException | Other exception. |
ioException :: USBExceptionSource
A general IOException.
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.