I'm looking for a way to catch errors without using the classic try catch because this code doesn't work on my SQL version (2005)

```
BEGIN TRY
    SELECT 1/0;
END TRY
BEGIN CATCH
    EXECUTE usp_GetErrorInfo;
END CATCH;

```

ERROR:

```
Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'TRY'.
Msg 156, Level 15, State 1, Line 6
Incorrect syntax near the keyword 'END'.

```

any workaround? or am i doing something wrong?