Stop processing the method after showing the error