Skip to content

Commit

Permalink
Export errors
Browse files Browse the repository at this point in the history
Signed-off-by: arkbriar <[email protected]>
  • Loading branch information
arkbriar committed Jul 26, 2024
1 parent 0916010 commit f0e0be9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions filechannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ import (
"github.com/risingwavelabs/filechannel/internal/filechannel"
)

// Errors.
var (
ErrUnexpectedEOF = filechannel.ErrUnexpectedEOF
ErrChecksumMismatch = filechannel.ErrChecksumMismatch
ErrChannelClosed = filechannel.ErrChannelClosed
ErrNotEnoughMessages = filechannel.ErrNotEnoughMessages
ErrNotEnoughReadToAck = filechannel.ErrNotEnoughReadToAck
)

// Sender sends bytes to file channel.
type Sender interface {
SenderStats
Expand Down

0 comments on commit f0e0be9

Please sign in to comment.