...

Source file src/github.com/redhat-developer/odo/pkg/dev/common/errors.go

Documentation: github.com/redhat-developer/odo/pkg/dev/common

     1  package common
     2  
     3  import "fmt"
     4  
     5  type ErrPortForward struct {
     6  	cause error
     7  }
     8  
     9  func NewErrPortForward(cause error) ErrPortForward {
    10  	return ErrPortForward{cause: cause}
    11  }
    12  
    13  func (e ErrPortForward) Error() string {
    14  	return fmt.Sprintf("fail starting the port forwarding: %s", e.cause)
    15  }
    16  

View as plain text