2019-09-10 20:25:08 +00:00
|
|
|
package backend
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ConflictingUpdateError represents an error which occurred while starting an update/destroy operation.
|
|
|
|
// Another update of the same stack was in progress, so the operation got cancelled due to this conflict.
|
|
|
|
type ConflictingUpdateError struct {
|
|
|
|
Err error // The error that occurred while starting the operation.
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c ConflictingUpdateError) Error() string {
|
|
|
|
return fmt.Sprintf("%s\nTo learn more about possible reasons and resolution, visit "+
|
2023-12-20 15:54:06 +00:00
|
|
|
"https://www.pulumi.com/docs/troubleshooting/#conflict", c.Err)
|
2019-09-10 20:25:08 +00:00
|
|
|
}
|