Consider using the render_failure_message for errors like this.