github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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  }