We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9ce9aa commit 4d210d0Copy full SHA for 4d210d0
1 file changed
tests/prompts/basic.cpp
@@ -1,4 +1,5 @@
1
#include "fastmcpp/client/types.hpp"
2
+#include "fastmcpp/exceptions.hpp"
3
#include "fastmcpp/prompts/manager.hpp"
4
#include "fastmcpp/prompts/prompt.hpp"
5
@@ -216,7 +217,7 @@ void test_manager_get_nonexistent()
216
217
{
218
pm.get("nonexistent");
219
}
- catch (const std::out_of_range&)
220
+ catch (const NotFoundError&)
221
222
threw = true;
223
0 commit comments