libusb_error class abstract
\ingroup libusb_misc Error codes. Most libusb functions return 0 on success or one of these codes on failure. You can call libusb_error_name() to retrieve a string representation of an error code or libusb_strerror() to get an end-user suitable description of an error code.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- LIBUSB_ERROR_ACCESS → const int
- Access denied (insufficient permissions)
- LIBUSB_ERROR_BUSY → const int
- Resource busy
- LIBUSB_ERROR_INTERRUPTED → const int
- System call interrupted (perhaps due to signal)
- LIBUSB_ERROR_INVALID_PARAM → const int
- Invalid parameter
- LIBUSB_ERROR_IO → const int
- Input/output error
- LIBUSB_ERROR_NO_DEVICE → const int
- No such device (it may have been disconnected)
- LIBUSB_ERROR_NO_MEM → const int
- Insufficient memory
- LIBUSB_ERROR_NOT_FOUND → const int
- Entity not found
- LIBUSB_ERROR_NOT_SUPPORTED → const int
- Operation not supported or unimplemented on this platform
- LIBUSB_ERROR_OTHER → const int
- Other error
- LIBUSB_ERROR_OVERFLOW → const int
- Overflow
- LIBUSB_ERROR_PIPE → const int
- Pipe error
- LIBUSB_ERROR_TIMEOUT → const int
- Operation timed out
- LIBUSB_SUCCESS → const int
- Success (no error)