mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-10 22:58:07 -05:00
15 lines
335 B
Go
15 lines
335 B
Go
// Copyright 2023 The AthanorLabs/atomic-swap Authors
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
|
|
package net
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
errNilHandler = errors.New("handler is nil")
|
|
errNoOngoingSwap = errors.New("no swap currently happening")
|
|
errSwapAlreadyInProgress = errors.New("already have ongoing swap")
|
|
)
|