public static function create(
        string $msg,
        int $exitCode,
        array $output,
        string $cmd, array
        $arguments = []
    ) : self {
        $e = new self($msg, $exitCode);

        $e->setOutput($output)
            ->setCmd($cmd)
            ->setArguments($arguments);

        return $e;
    }