check_lifx_response: react to 'LIFX' api response error codes

Description Usage Arguments Value References

View source: R/api_errors.R

Description

react to 'LIFX' api response error codes

Usage

1

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


lifx documentation built on July 1, 2020, 6:08 p.m.