feat: standardize resource-not-found error code (SEP-2164) (#899)

* feat: implement SEP-2164 resource not found errors

* test: update protocol version utility expectations

* feat: gate not-found code at server boundary

---------

Co-authored-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
Dale Seo 2026-06-16 21:55:25 -04:00 • committed by GitHub
commit 95a8e961e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -615,7 +615,7 @@ impl ServerHandler for ConformanceServer {
} else {
Err(ErrorData::resource_not_found(
format!("Resource not found: {}", uri),
None,
Some(json!({ "uri": uri })),
))
}
}