The OnError command is not triggering any subroutines.

I put the OnError at the beginning of the subroutine.
It should trigger a subroutine if an error occurs in "Requests".
But "ErroRequests" is never triggered, how can I make OnError execute the "ErroRequests" subroutine if there is an error in the "Requests" subroutine?
------------------------------
João Pedro Alcântara
------------------------------