// Copyright (c) 2024 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.

package mixclient

import "errors"

var (
	ErrTooFewPeers = errors.New("not enough peers required to mix")

	ErrUnknownPRs = errors.New("unable to participate in reformed session referencing unknown PRs")

	ErrStopping = errors.New("mixing client is stopping")
)

// testPeerBlamedError describes the error condition of a misbehaving peer
// being removed from a mix run following blame assignment.  It should never
// occur outside of unit tests.
type testPeerBlamedError struct {
	p *peer
}

func (e *testPeerBlamedError) Error() string {
	return "peer removed during blame assignment"
}
