# Functions
NewFailureReason initializes a new failure reason that contains both the reason and a message to be displayed.
# Constants
ReasonAssembleFailed is the reason associated with the Assemble script failing.
ReasonAssembleUserForbidden is the failure reason associated with an image that uses a forbidden AssembleUser.
ReasonCommitContainerFailed is the reason associated with failing to commit the container to the final image.
ReasonDockerfileCreateFailed is the reason associated with failing to create a Dockerfile for a build.
ReasonDockerImageBuildFailed is the reason associated with a failed Docker image build.
ReasonFetchSourceFailed is the reason associated with failing to download the source of the build.
ReasonFSOperationFailed is the reason associated with a failed fs operation.
ReasonGenericS2IBuildFailed is the reason associated with a broad range of failures.
ReasonInstallScriptsFailed is the reason associated with a failure to install scripts in the builder image.
ReasonInvalidArtifactsMapping is the reason associated with an invalid artifacts mapping of files that need to be copied.
ReasonMessageAssembleFailed is the message associated with the Assemble script failing.
ReasonMessageAssembleUserForbidden is the failure reason associated with an image that uses a forbidden AssembleUser.
ReasonMessageCommitContainerFailed is the message associated with failing to commit the container to the final image.
ReasonMessageDockerfileCreateFailed is the message associated with failing to create a Dockerfile for a build.
ReasonMessageDockerImageBuildFailed is the message associated with a failed Docker image build.
ReasonMessageFetchSourceFailed is the message associated with failing to download the source of the build.
ReasonMessageFSOperationFailed is the message associated with a failed fs operation.
ReasonMessageGenericS2iBuildFailed is the message associated with a broad range of failures.
ReasonMessageInstallScriptsFailed is the message associated with a failure to install scripts in the builder image.
ReasonMessageInvalidArtifactsMapping is the message associated with an invalid artifacts mapping of files that need to be copied.
ReasonMessageOnBuildForbidden is the message associated with an image that uses the ONBUILD instruction when it's not allowed.
ReasonMessagePullBuilderImageFailed is the message associated with failing to pull the builder image.
ReasonMessagePullPreviousImageFailed is the message associated with failing to pull the previous image.
ReasonMessagePullRuntimeImageFailed is the message associated with failing to pull the runtime image.
ReasonMessageRuntimeArtifactsFetchFailed is the message associated with a failure to download the specified runtime scripts in the application image.
ReasonMessageScriptsFetchFailed is the message associated with a failure to download specified scripts in the application image.
ReasonOnBuildForbidden is the failure reason associated with an image that uses the ONBUILD instruction when it's not allowed.
ReasonPullBuilderImageFailed is the reason associated with failing to pull the builder image.
ReasonPullPreviousImageFailed is the reason associated with failing to pull the previous image.
ReasonPullRuntimeImageFailed is the reason associated with failing to pull the runtime image.
ReasonRuntimeArtifactsFetchFailed is the reason associated with a failure to download the specified runtime scripts.
ReasonScriptsFetchFailed is the reason associated with a failure to download specified scripts in the application image.