Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChaiScript/ChaiScript
/ throws_a_thing
Function
throws_a_thing
unittests/compiled_tests.cpp:1329–1332 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1327
};
1328
1329
void throws_a_thing()
1330
{
1331
throw MyException(
"Hello World"
);
1332
}
1333
1334
TEST_CASE(
"Test throwing and catching custom exception"
)
1335
{
Callers
nothing calls this directly
Calls
1
MyException
Class · 0.85
Tested by
no test coverage detected