Rename ControllerUid to a more general EmgauwaUid (for macros)

This commit is contained in:
Tobias Reisinger 2024-04-28 02:29:34 +02:00
parent 07d3322c5a
commit 51aa0d3c99
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
11 changed files with 55 additions and 57 deletions
emgauwa-lib/src/errors

View file

@ -13,7 +13,7 @@ use serde::ser::SerializeStruct;
use serde::{Serialize, Serializer};
use crate::errors::{ApiError, DatabaseError};
use crate::types::ControllerUid;
use crate::types::EmgauwaUid;
#[derive(Debug)]
pub enum EmgauwaError {
@ -23,7 +23,7 @@ pub enum EmgauwaError {
Database(DatabaseError),
Other(String),
Internal(String),
Connection(ControllerUid),
Connection(EmgauwaUid),
Hardware(String),
}