Introduce numeric error codes in inverter webapi

This commit is contained in:
Thomas Basler
2022-12-23 18:52:48 +01:00
parent ac6c10759d
commit 4dc50777ef
2 changed files with 38 additions and 1 deletions

View File

@@ -16,5 +16,15 @@ enum WebApiError {
ConfigBase = 3000,
ConfigNotDeleted,
ConfigSuccess
ConfigSuccess,
InverterBase = 4000,
InverterSerialZero,
InverterNameLength,
InverterCount,
InverterAdded,
InverterInvalidId,
InverterInvalidMaxChannel,
InverterChanged,
InverterDeleted,
};