UNPKG

particle-cli

Version:

Simple Node commandline application for working with your Particle devices and using the Particle Cloud

24 lines (21 loc) 938 B
'use strict'; const deviceControlError = { 'LIBUSB_ERROR_IO': 'Input/output error', 'LIBUSB_ERROR_INVALID_PARAM': 'Invalid parameter', 'LIBUSB_ERROR_ACCESS': 'Access denied (insufficient permissions)', 'LIBUSB_ERROR_NO_DEVICE': 'No such device (it may have been disconnected)', 'LIBUSB_ERROR_NOT_FOUND': 'Entity not found', 'LIBUSB_ERROR_BUSY': 'Resource busy', 'LIBUSB_ERROR_TIMEOUT': 'Operation timed out', 'LIBUSB_ERROR_OVERFLOW': 'Overflow', 'LIBUSB_ERROR_PIPE': 'Pipe error', 'LIBUSB_ERROR_INTERRUPTED': 'System call interrupted (perhaps due to signal)', 'LIBUSB_ERROR_NO_MEM': 'Insufficient memory', 'LIBUSB_ERROR_NOT_SUPPORTED': 'Operation not supported or unimplemented on this platform', 'LIBUSB_TRANSFER_STALL': 'Operation was stalled (device is unable to respond to request)', 'LIBUSB_TRANSFER_TIMED_OUT': 'Transfer timed out', 'LIBUSB_ERROR_OTHER': 'Other error', }; module.exports = { deviceControlError };