mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-14 19:01:12 +01:00
Introduce numeric error codes in inverter webapi
This commit is contained in:
@@ -16,5 +16,15 @@ enum WebApiError {
|
||||
|
||||
ConfigBase = 3000,
|
||||
ConfigNotDeleted,
|
||||
ConfigSuccess
|
||||
ConfigSuccess,
|
||||
|
||||
InverterBase = 4000,
|
||||
InverterSerialZero,
|
||||
InverterNameLength,
|
||||
InverterCount,
|
||||
InverterAdded,
|
||||
InverterInvalidId,
|
||||
InverterInvalidMaxChannel,
|
||||
InverterChanged,
|
||||
InverterDeleted,
|
||||
};
|
||||
Reference in New Issue
Block a user