Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCustomLogoError ¶
func IsSyncError ¶
Types ¶
type CustomLogoError ¶
type CustomLogoError struct {
// contains filtered or unexported fields
}
func NewCustomLogoError ¶
func NewCustomLogoError(msg string) *CustomLogoError
func (*CustomLogoError) Error ¶
func (e *CustomLogoError) Error() string
implement the error interface
type SyncProgressingError ¶
type SyncProgressingError struct {
// contains filtered or unexported fields
}
a sync progressing error captures the idea that the operand is in an incomplete state and needs to be reconciled. It should be used when the sync loop should abort, but it implies the idea of "progressing", not "failure". A built-in error type can be used and returned when a true failure is encountered.
func NewSyncError ¶
func NewSyncError(msg string) *SyncProgressingError
NewSyncError("Sync failed on xyz") A builder func, should we choose to add additional metadata on the custom err
func (*SyncProgressingError) Error ¶
func (e *SyncProgressingError) Error() string
implement the error interface
Click to show internal directories.
Click to hide internal directories.