github.com/cmd-stream/base-go@v0.0.0-20230813145615-dd6ac24c16f5/client/errs.go (about)

     1  package client
     2  
     3  import (
     4  	"errors"
     5  )
     6  
     7  // ErrClosed happens when Client is closed while connected to the server.
     8  var ErrClosed = errors.New("closed")