Documentation ¶
Index ¶
Constants ¶
View Source
const UserErrorLabel = "[User error] "
Variables ¶
This section is empty.
Functions ¶
func GetErrorMessage ¶ added in v0.57.0
GetErrorMessage returns the error message with the user error label if it is of type user error
func IsImmutableTaskRunSpecError ¶ added in v0.62.6
IsImmutableTaskRunSpecError returns true if the error is the taskrun spec is immutable
func LabelUserError ¶
LabelUserError labels the failure RunStatus message if any of its error messages has been wrapped as an UserError. It indicates that the user is responsible for an error. See github.com/tektoncd/pipeline/blob/main/docs/pipelineruns.md#marking-off-user-errors for more details.
func WrapUserError ¶
WrapUserError wraps the original error with the user error label
Types ¶
Click to show internal directories.
Click to hide internal directories.