i would like to know is there anyway to return from controller an 500 exceptional error. i need to return with response, code and redirection.Please help me out of it
i would like to know is there anyway to return from controller an 500 exceptional error. i need to return with response, code and redirection.Please help me out of it
I don`t have idea for what you can need that, but when you return $this->render and path that does not exist , symfony returns 500.