An error page which can definitely be safely rendered using the OutputPage.
report( $action=self::SEND_OUTPUT)
getMessageObject()
Return a Message object for this exception.
string MessageSpecifier $msg
string MessageSpecifier $title
__construct( $title, $msg, $params=[])
Note: these arguments are keys into wfMessage(), not text!