laravel – How to customize the redirection after validation in the custom request class

I created a custom request class in which I prohibited access to a specific route. Suppose I'm trying to prohibit the deletion of a custom category via this class of requests. Everything works fine and I am redirected to page 403. The question is, how can I customize this redirect path?

I have looked on the Internet and have seen mentions of the answerResponse () method, but I can not get it to work.

I use Laravel 5.7