mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-09 14:18:03 -05:00
17 lines
476 B
Go
17 lines
476 B
Go
// Copyright 2023 The AthanorLabs/atomic-swap Authors
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
|
|
package net
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
errBootnodeCannotRelay = errors.New("bootnode cannot be a relayer")
|
|
errNilHandler = errors.New("handler is nil")
|
|
errNoOngoingSwap = errors.New("no swap currently happening")
|
|
errOfferUnavailable = errors.New("offer no longer available")
|
|
errSwapAlreadyInProgress = errors.New("swap is already in progress")
|
|
)
|