SilverStripe\ErrorPage\ErrorPage::get_error_filename
Gets the filename identifier for the given error code.
Used when handling responses under error conditions.
Signature
protected function get_error_filename(int
$statusCode,
[ErrorPage
$instance = NULL] )
Parameters
$statusCode
— int- A HTTP Statuscode, typically 404 or 500
$instance
— object- Optional instance to use for name generation
Returns
- string