go-p2p/node/errors.go
Virgil c03b3410e6
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m29s
refactor(node): remove legacy compatibility aliases
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-30 21:27:45 +00:00

14 lines
543 B
Go

package node
import core "dappco.re/go/core"
// Shared error sentinels for the node package.
var (
// ErrorIdentityNotInitialized is returned when a node operation requires
// a node identity but none has been generated or loaded.
ErrorIdentityNotInitialized = core.E("node", "node identity not initialized", nil)
// ErrorMinerManagerNotConfigured is returned when a miner operation is
// attempted but no MinerManager has been set on the Worker.
ErrorMinerManagerNotConfigured = core.E("node", "miner manager not configured", nil)
)