Error codes.
Most libusb functions return 0 on success or one of these codes on failure.
| C# | Visual Basic | Visual C++ |
public enum MonoUsbError
Public Enumeration MonoUsbError
public enum class MonoUsbError
| Member | Description |
|---|---|
| Success |
Success (no error)
|
| ErrorIO |
Input/output error
|
| ErrorInvalidParam |
Invalid parameter
|
| ErrorAccess |
Access denied (insufficient permissions)
|
| ErrorNoDevice |
No such device (it may have been disconnected)
|
| ErrorNotFound |
Entity not found
|
| ErrorBusy |
Resource busy
|
| ErrorTimeout |
Operation timed out
|
| ErrorOverflow |
Overflow
|
| ErrorPipe |
Pipe error
|
| ErrorInterrupted |
System call interrupted (perhaps due to signal)
|
| ErrorNoMem |
Insufficient memory
|
| ErrorNotSupported |
Operation not supported or unimplemented on this platform
|
| ErrorIOCancelled |
Cancel IO failed.
|
| ErrorOther |
Other error
|