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: bizerror_test.go
    path of file: ./repos/go-doudou/framework/rest
    
    the code of the file until where you have to start completion: package rest_test

import (
	"github.com/pkg/errors"
	. "github.com/smartystreets/goconvey/convey"
	"github.com/unionj-cloud/go-doudou/v2/framework/rest"
	"testing"
)

func TestWithStatusCode(t *testing.T) {
	Convey("Create a BizError with 401 http status code", t, func() {
		
    
func TestWithErrCode(t *testing.T) {
	Convey("Create a BizError with 100401 business error code", t, func() {
		bizError := rest.NewBizError(errors.New("Unauthorised"), rest.WithErrCode(100401))
		So(bizError, ShouldNotBeZeroValue)
		So(bizError.ErrCode, ShouldEqual, 100401)

		Convey("Should output 100401 Unauthorised", func() {
			So(bizError.String(), ShouldEqual, "100401 Unauthorised")
		})
	})
}