mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-10 22:58:07 -05:00
15 lines
434 B
Go
15 lines
434 B
Go
package net
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
errNilHandler = errors.New("handler is nil")
|
|
errNilStream = errors.New("stream is nil")
|
|
errFailedToBootstrap = errors.New("failed to bootstrap to any bootnode")
|
|
errNoOngoingSwap = errors.New("no swap currently happening")
|
|
errSwapAlreadyInProgress = errors.New("already have ongoing swap")
|
|
errInvalidBufferLength = errors.New("buffer has length 0")
|
|
)
|