Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ tsn_throw
Function
tsn_throw
tsn/src/tsn/tsn.cpp:1617–1619 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1615
}
1616
1617
void tsn_throw(tsn_vm* ctx, tsn_value exception) {
1618
JS_Throw(ctx, JS_DupValue(ctx, exception));
1619
}
1620
1621
tsn_value tsn_get_exception(tsn_vm* ctx) {
1622
return JS_GetException(ctx);
Callers
2
tsn_require
Function · 0.85
tsn_generator_next
Function · 0.85
Calls
1
JS_DupValue
Function · 0.85
Tested by
no test coverage detected