Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

359 B
Raw Blame
package v1

import (
	"github.com/bytebase/bytebase/backend/common/permission"
	v1pb "github.com/bytebase/bytebase/backend/generated-go/v1"
)

type queryError struct {
	err         error
	resources   []string
	permission  permission.Permission
	commandType v1pb.QueryResult_CommandError_Type
}

func (qe *queryError) Error() string {
	return qe.err.Error()
}