catchblock

noun
UK /ˈkætʃ.blɒk/
US /ˈkætʃ.blɑːk/

A catchblock is a special box of code that catches mistakes so the program can keep going.

The program used a catchblock to handle the error without crashing.


OTHER MEANINGS

2. A block in a game or sport used to stop or catch something.

The goalie made a quick catchblock to stop the ball.

3. A physical block or pad used to catch or stop a moving object.

They placed a catchblock at the end of the ramp to stop the cart.

4. A section of a program that deals with a specific problem when it happens.

Each catchblock in the code handles a different kind of error.