hue.js
hue.js copied to clipboard
Error responses might need to contain the entire error array
Currently if an error is received from the base station, only the first error object of the array is passed through. All errors I've encountered have only 1 element, however presumably the Hue API authors envisioned a scenario where multiple errors can be passed through and should be dealt with differently.
This needs to be investigated.