feat: unified error type (#308)
* feat: unified error type * fix: use type id to compare transport type
This commit is contained in:
parent
c74b26b3e3
commit
e615300fea
1 changed files with 286 additions and 161 deletions
|
|
@ -27,7 +27,7 @@ impl ServerHandler for Server {
|
|||
&self,
|
||||
request: rmcp::model::SubscribeRequestParam,
|
||||
context: rmcp::service::RequestContext<rmcp::RoleServer>,
|
||||
) -> Result<(), rmcp::Error> {
|
||||
) -> Result<(), rmcp::ErrorData> {
|
||||
let uri = request.uri;
|
||||
let peer = context.peer;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue