...

Source file src/golang.conradwood.net/go-easyops/utils/errors.go

Documentation: golang.conradwood.net/go-easyops/utils

     1  package utils
     2  
     3  import (
     4  	"golang.conradwood.net/go-easyops/errors/shared"
     5  )
     6  
     7  // extracts the PRIVATE and possibly SENSITIVE debug error message from a string
     8  // obsolete - use errors.ErrorString(err)
     9  // the reason this is so convoluted with different types, is that different versions of grpc
    10  // encapsulate status details in different messages.
    11  func ErrorString(err error) string {
    12  	return shared.ErrorString(err)
    13  }
    14  

View as plain text