Skip to content

Commit e1da720

Browse files
senamakelmedullabot
andcommitted
fix(errors): assign names to every module failure
Co-authored-by: Medulla <medulla@tinyhumans.ai>
1 parent 5564556 commit e1da720

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • crates/tinymcp/src/error

‎crates/tinymcp/src/error/mod.rs‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,7 @@ impl Error {
379379
Self::Unauthorized { .. } => errors::UNAUTHORIZED,
380380
Self::MissingRuntime { .. } => errors::MISSING_RUNTIME,
381381
Self::Http { .. } => errors::HTTP,
382-
Self::Transport { .. } | Self::ServerIo { .. } | Self::ServerBind { .. } => {
383-
errors::TRANSPORT
384-
}
382+
Self::Transport { .. } => errors::TRANSPORT,
385383
Self::UnsupportedProtocolVersion { .. } => errors::UNSUPPORTED_PROTOCOL_VERSION,
386384
Self::MalformedResponse { .. } => errors::MALFORMED_RESPONSE,
387385
Self::Rpc { .. } => errors::RPC,

0 commit comments

Comments
 (0)