github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/cloudcontroller/ccerror/pipe_seek_error.go (about)

     1  package ccerror
     2  
     3  import "fmt"
     4  
     5  // PipeSeekError is returned by Pipebomb when a Seek is called.
     6  type PipeSeekError struct {
     7  	// Err is the error that caused the Seek to be called.
     8  	Err error
     9  }
    10  
    11  func (e PipeSeekError) Error() string {
    12  	return fmt.Sprintf("error seeking a stream on retry: %s", e.Err)
    13  }