feat(client): Add client session state error variants
This commit is contained in:
1 parent
14bc506b51
commit
1266497119
1 file changed
+4
@@ -31,6 +31,10 @@ pub enum ClientError {
|
|||||||
NegotiationRejected { reason: String },
|
NegotiationRejected { reason: String },
|
||||||
#[error("client is not open")]
|
#[error("client is not open")]
|
||||||
NotOpen,
|
NotOpen,
|
||||||
|
#[error("client session is already open")]
|
||||||
|
AlreadyOpen,
|
||||||
|
#[error("client session is already completed")]
|
||||||
|
AlreadyCompleted,
|
||||||
#[error("client session is already closed")]
|
#[error("client session is already closed")]
|
||||||
AlreadyClosed,
|
AlreadyClosed,
|
||||||
#[error("operation is not implemented for this milestone")]
|
#[error("operation is not implemented for this milestone")]
|
||||||
|
|||||||
Reference in new issue
Block a user