gitlab.com/evatix-go/core@v1.3.55/errcore/ErrorToSplitNonEmptyLines.go (about)

     1  package errcore
     2  
     3  import "gitlab.com/evatix-go/core/internal/strutilinternal"
     4  
     5  func ErrorToSplitNonEmptyLines(err error) []string {
     6  	lines := ErrorToSplitLines(err)
     7  
     8  	return strutilinternal.NonEmptySlice(lines)
     9  }