check_lifx_response {lifx} | R Documentation |
react to 'LIFX' api response error codes
Description
react to 'LIFX' api response error codes
Usage
check_lifx_response(response)
Arguments
response |
the api response received from httr::PUT / POST / GET |
Value
depending on the status either: an error; a warning and the response as is; the response as is without any message.
References
error messages copied from https://api.developer.lifx.com/docs/errors
[Package lifx version 0.2.0 Index]