mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-09 14:18:03 -05:00
19 lines
438 B
Go
19 lines
438 B
Go
// Copyright 2023 The AthanorLabs/atomic-swap Authors
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
|
|
package rpc
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// net_ errors
|
|
errNoOfferWithID = errors.New("peer does not have offer with given ID")
|
|
errUnsupportedForBootnode = errors.New("unsupported for bootnode")
|
|
|
|
// ws errors
|
|
errInvalidMethod = errors.New("invalid method")
|
|
errNamespaceNotEnabled = errors.New("namespace not enabled")
|
|
)
|