You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/internal/hcp/registry/errors.go

16 lines
402 B

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package registry
// ErrBuildAlreadyDone is the error returned by an HCP handler when a build cannot be started since it's already
// marked as DONE.
type ErrBuildAlreadyDone struct {
Message string
}
// Error returns the message for the ErrBuildAlreadyDone type
func (b ErrBuildAlreadyDone) Error() string {
return b.Message
}