mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-22 02:47:26 +08:00
14 lines
403 B
Go
14 lines
403 B
Go
package lifecycle
|
|
|
|
import (
|
|
"errors"
|
|
"fmt"
|
|
)
|
|
|
|
// ErrComponentRunning is returned by a component that has already been started
|
|
// and has had Startable.Start called a second time.
|
|
var ErrComponentRunning = errors.New("component is already running")
|
|
|
|
// ErrComponentShutdown is returned by a component that has already shut down.
|
|
var ErrComponentShutdown = fmt.Errorf("component has already shut down")
|