public static function fromProcess(Process $process)
    {
        $message        = 'PHP Code failed to execute. Error: "%s"';
        $processOutput  = $process->getErrorOutput() ? $process->getErrorOutput() : $process->getOutput();
        return new static(sprintf($message, $processOutput));
    }