MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / guardrailBreachError

Struct guardrailBreachError

cmd/pulumi.go:452–454  ·  view source on GitHub ↗

guardrailBreachError signals that a cost guardrail threshold was exceeded. Execute() maps it to exit code 2 (distinct from 1 = runtime error).

Source from the content-addressed store, hash-verified

450// guardrailBreachError signals that a cost guardrail threshold was exceeded.
451// Execute() maps it to exit code 2 (distinct from 1 = runtime error).
452type guardrailBreachError struct {
453 breaches []string
454}
455
456func (e *guardrailBreachError) Error() string {
457 return "cost guardrail breached: " + strings.Join(e.breaches, "; ")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected