An error page which can definitely be safely rendered using the OutputPage.
static getMain()
Get the RequestContext object associated with the main request.
static getLink( $ugm, IContextSource $context, $format, $userName=null)
Gets a link for a user group, possibly including the expiry date if relevant.