github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/internal/gateway/tcp/errors.go (about)

     1  package tcpGateway
     2  
     3  import "errors"
     4  
     5  /*
     6     Creation Time: 2020 - Mar - 06
     7     Created by:  (ehsan)
     8     Maintainers:
     9        1.  Ehsan N. Moosa (E2)
    10     Auditor: Ehsan N. Moosa (E2)
    11     Copyright Ronak Software Group 2020
    12  */
    13  
    14  var (
    15  	ErrUnsupportedProtocol  = errors.New("gateway protocol is not supported")
    16  	ErrWriteToClosedConn    = errors.New("write to closed conn")
    17  	ErrConnectionClosed     = errors.New("connection closed")
    18  	ErrUnexpectedSocketRead = errors.New("unexpected socket read")
    19  	ErrOpCloseReceived      = errors.New("close operation received")
    20  )