Files
atomic-swap/rpc/errors.go
2023-05-20 16:29:42 -05:00

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")
)