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


mabafaba/lifx documentation built on June 8, 2020, 3:46 a.m.