mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 12:45:04 +01:00
parse frame payload
This commit is contained in:
parent
706219c046
commit
ccee6c36f6
3 changed files with 55 additions and 33 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum ConError {
|
||||
pub enum TransError {
|
||||
#[error("{0}")]
|
||||
Invalid(#[from] ProtocolError),
|
||||
#[error("connection error: `{0}`")]
|
||||
|
|
@ -24,6 +24,10 @@ pub enum ConException {
|
|||
FrameError,
|
||||
#[error("503 Command invalid")]
|
||||
CommandInvalid,
|
||||
#[error("503 Syntax error")]
|
||||
SyntaxError,
|
||||
#[error("504 Channel error")]
|
||||
ChannelError,
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue