find_catch_blocks
Find the catch clauses that handle an exception type across the solution, and say what each one does with it. Each item reports hasFilter (a when clause, so the handler may decline at runtime), rethrows (the body contains a bare throw;) and isEmpty (an empty handler body) — together these answer 'who is silently swallowing this exception?' in a single call. By default only clauses declaring exactly the requested type match; set includeBaseClauses to also surface handlers that catch a base type, including catch (Exception) and bare catch, since those bind the requested type too. caughtType is null for a bare catch. The exception type may live in source or in metadata. Returns an envelope with items, totalCount, truncated, limit and a byType / byProject summary, sorted by file, line, column.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
exceptionType | string | ✓ | Exception type to search for (e.g. System.IO.IOException or MyApp.DomainException). |
includeBaseClauses | bool | Also match clauses catching a base type of the requested one, including bare catch. Default false. | |
limit | int? | Maximum number of items to return (default: 500). |