CodeQL library for Go
codeql/go-all 8.0.0 (changelog, source)
Search

Predicate signature AstSig::getTryElse

Gets the else block of this try statement, if any.

Only some languages (e.g. Python) support try-else constructs.

signature AstNode getTryElse(TryStmt try)