You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"name": "Exception Analysis",
"kind": "warning",
"file": "Foo.res",
"range": [20,4,20,7],
"message": "foo might raise JsExn (Foo.res:22:2) and is not annotated with @raises(JsExn)",
"annotate": { "line": 20, "character": 0, "text": "@raises(JsExn)\n", "action": "Add @raises annotation"}
}
although technically correct, it's not interesting because you're never supposed to catch it anyway.
either replace the exception thrown by panic to be named Panic and keep the raises annotation suggestion (makes it clear that the path can panic) or have reanalyze exclude panic calls from analysis.