Yes bingo. that is what abort(500) means.. Throw an error 500.. Replace that with whatever you what to happen.. Like.. throw an exception.. Or return a view.. Or redirect...
Yes, but why could not set the image or text with condition in controller, if i need 500 error for a small place then it should be used in there only, can change abort(500, 'Bad response'); to like text or image without redirect or return review?