You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: hcserror.go
    path of file: ./repos/faasd/vendor/github.com/Microsoft/hcsshim/internal/hcserror
    
    the code of the file until where you have to start completion: //go:build windows

package hcserror

import (
	"errors"
	"fmt"

	"golang.org/x/sys/windows"
)

type HcsError struct {
	title string
	rest  string
	
    
func New(err error, title, rest string) error {
	// Pass through DLL errors directly since they do not originate from HCS.
	var e *windows.DLLError
	if errors.As(err, &e) {
		return err
	}
	return &HcsError{title, rest, err}
}