public function setExitCode(int $exitCode): void
    {
        $this->parameters['exit_code'] = $exitCode;

        $r = new ReflectionProperty($this->parameters['error'], 'code');
        $r->setAccessible(true);
        $r->setValue($this->parameters['error'], $this->parameters['exit_code']);
    }