solar-grabber/src
Paul van Tilburg e268a6ebca
Detect when API (login) responses are not correct
* Introduce the `Error::Response` variant so services can raise errors
  if the API response are not valid but a relogin will not help
* Indicate that a login failed for status (error) code 1
* Indicate that an API request failed and relogin is necessary for
  status code 1 or 100
* Raise an error on any non-zero status code otherwise with the message
2023-01-16 19:57:05 +01:00
..
services Detect when API (login) responses are not correct 2023-01-16 19:57:05 +01:00
lib.rs Switch to floats for the current power and total energy fields 2023-01-10 15:37:38 +01:00
main.rs Enable more lints 2023-01-09 21:40:04 +01:00
services.rs Detect when API (login) responses are not correct 2023-01-16 19:57:05 +01:00
update.rs Introduce an error type for services 2023-01-15 16:31:37 +01:00