SilverStripe\EnvironmentCheck\EnvironmentChecker::setErrorCode
Set the HTTP status code that should be returned when there's an error.
Signature
public function setErrorCode(int
$errorCode )
Parameters
$errorCode
— int