public function getCoreErrors($env = null)
    {
        $env = $env ?: $this->running_env;
        return isset($this->errors[$env]) ? $this->errors[$env] : 0;
    }
public function getCoreErrors($env = null)
    {
        $env = $env ?: $this->running_env;
        return isset($this->errors[$env]) ? $this->errors[$env] : 0;
    }
public function getCoreErrors ( $ env = null ) { $ env = $ env ? : $ this -> running_env ; return isset ( $ this -> errors [ $ env ] ) ? $ this -> errors [ $ env ] : 0 ; }
Returns the core errors which are being handled

Uses the currently running environment when none is given.

@param  string|null $env     Name of the environment

@return int
Returns the core errors which are being handled