diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-10-14 15:48:56 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-10-14 15:48:56 +0200 |
commit | 975e668691e698f911047647c1054fd0d269fbbf (patch) | |
tree | 7bebe96e6106e2387c0c5a70451b99955a67a3de /src | |
parent | 91ecf088c7f7f19c149063ed56c6af7b7690f88a (diff) |
make error enum style consistent with my convention
Diffstat (limited to 'src')
-rw-r--r-- | src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index 6ade514..6f5747d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -4,6 +4,8 @@ use thiserror::Error; #[derive(Debug, Error)] pub enum Error { + #[error("no client duid")] + NoClientId, #[error("no domain name servers")] NoDns, #[error("no ia_pd")] @@ -12,8 +14,6 @@ pub enum Error { NoIAPDStatus, #[error("no ia_prefix")] NoIAPrefix, - #[error("no client duid")] - NoClientId, #[error("no server duid")] NoServerId, #[error("incomplete transmission")] |