SilverStripe\ErrorPage\ErrorPage::get_content_for_errorcode
Returns statically cached content for a given error code
Signature
public function get_content_for_errorcode(int
$statusCode )
Parameters
$statusCode
— int- A HTTP Statuscode, typically 404 or 500
Returns
- string|null