add new enums

This commit is contained in:
yggverse 2024-10-30 04:37:05 +02:00
parent c2b06fd688
commit 8dcab0f29e
2 changed files with 2 additions and 0 deletions

View file

@ -66,6 +66,7 @@ impl Header {
match reason {
status::Error::Decode => Error::StatusDecode,
status::Error::Undefined => Error::StatusUndefined,
status::Error::Protocol => Error::StatusProtocol,
},
None,
)),

View file

@ -4,5 +4,6 @@ pub enum Error {
InputStream,
Protocol,
StatusDecode,
StatusProtocol,
StatusUndefined,
}