Files

16 lines
402 B
Go
Raw Permalink Normal View History

// Copyright (c) HashiCorp, Inc.
2023-08-10 15:53:29 -07:00
// SPDX-License-Identifier: BUSL-1.1
2022-11-07 14:16:04 -05:00
package registry
// ErrBuildAlreadyDone is the error returned by an HCP handler when a build cannot be started since it's already
// marked as DONE.
2022-11-07 14:16:04 -05:00
type ErrBuildAlreadyDone struct {
Message string
}
// Error returns the message for the ErrBuildAlreadyDone type
func (b ErrBuildAlreadyDone) Error() string {
return b.Message
}