private function unserialize($memory): array
    {
        $data = shmop_read($memory, 0, self::LIMIT);

        $exceptions = unserialize($data);

        if (!is_array($exceptions)) {
            $exceptions = [];
        }

        return $exceptions;
    }