Skip to content

Commit ce00bd2

Browse files
committed
JS: More docs
1 parent 4e62a51 commit ce00bd2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

javascript/ql/lib/semmle/javascript/internal/flow_summaries/ExceptionFlow.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ private predicate isCallback(DataFlow::SourceNode node) {
2222

2323
/**
2424
* Summary that propagates exceptions out of callbacks back to the caller.
25+
*
26+
* This summary only applies to calls that have no other call targets.
27+
* See also `FlowSummaryDefaultExceptionalReturn`, which handles calls that have a summary target,
28+
* but where the summary does not mention `ReturnValue[exception]`.
2529
*/
2630
private class ExceptionFlowSummary extends SummarizedCallable, LibraryCallableInternal {
2731
ExceptionFlowSummary() { this = "Exception propagator" }

0 commit comments

Comments
 (0)