github.com/buildpack/pack@v0.5.0/commands/soft_error.go (about)

     1  package commands
     2  
     3  type SoftError struct {
     4  }
     5  
     6  func IsSoftError(err error) bool {
     7  	_, isSoft := err.(SoftError)
     8  	return isSoft
     9  }
    10  
    11  func MakeSoftError() SoftError {
    12  	return SoftError{}
    13  }
    14  
    15  func (se SoftError) Error() string {
    16  	return ""
    17  }