donate comments/suggestions/bugs a leap of faith?
By using dbfiddle, you agree to license everything you submit by Creative Commons CC0

BEGIN TRY DECLARE @i int = 1 / 0; DECLARE @foo varchar(30) = 'Created in try block'; END TRY BEGIN CATCH PRINT @foo; SET @foo = 'Catch found'; END CATCH; PRINT @foo;
show plan split remove clear
 
Catch found