package
2.16.0
Repository: https://github.com/puppetlabs/horsehead.git
Documentation: pkg.go.dev

# Functions

IsLifecycleDescriptorError tests whether a given error is an instance of "descriptor_error".
IsLifecycleProcessError tests whether a given error is an instance of "process_error".
IsLifecycleTimeoutError tests whether a given error is an instance of "timeout_error".
IsProcessPanicError tests whether a given error is an instance of "panic_error".
IsRecoveryDescriptorMaxRetriesReached tests whether a given error is an instance of "max_retries_reached".
NewLifecycleDescriptorError creates a new error with the code "descriptor_error".
NewLifecycleDescriptorErrorBuilder creates a new error builder for the code "descriptor_error".
NewLifecycleProcessError creates a new error with the code "process_error".
NewLifecycleProcessErrorBuilder creates a new error builder for the code "process_error".
NewLifecycleTimeoutError creates a new error with the code "timeout_error".
NewLifecycleTimeoutErrorBuilder creates a new error builder for the code "timeout_error".
NewProcessPanicError creates a new error with the code "panic_error".
NewProcessPanicErrorBuilder creates a new error builder for the code "panic_error".
NewRecoveryDescriptorMaxRetriesReached creates a new error with the code "max_retries_reached".
NewRecoveryDescriptorMaxRetriesReachedBuilder creates a new error builder for the code "max_retries_reached".

# Constants

LifecycleDescriptorErrorCode is the code for an instance of "descriptor_error".
LifecycleProcessErrorCode is the code for an instance of "process_error".
LifecycleTimeoutErrorCode is the code for an instance of "timeout_error".
ProcessPanicErrorCode is the code for an instance of "panic_error".
RecoveryDescriptorMaxRetriesReachedCode is the code for an instance of "max_retries_reached".

# Variables

API is a singleton instance of the External type.
Domain is the general domain in which all errors in this package belong.
LifecycleSection defines a section of errors with the following scope: Lifecycle errors.
ProcessSection defines a section of errors with the following scope: Process errors.
RecoveryDescriptorSection defines a section of errors with the following scope: Recovery descriptor errors.

# Structs

External contains methods that can be used externally to help consume errors from this package.
LifecycleDescriptorErrorBuilder is a builder for "descriptor_error" errors.
LifecycleProcessErrorBuilder is a builder for "process_error" errors.
LifecycleTimeoutErrorBuilder is a builder for "timeout_error" errors.
ProcessPanicErrorBuilder is a builder for "panic_error" errors.
RecoveryDescriptorMaxRetriesReachedBuilder is a builder for "max_retries_reached" errors.

# Interfaces

Error is the type of all errors generated by this package.