2023-10-31 15:32:29 +00:00
|
|
|
package cwhub
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// ErrNilRemoteHub is returned when the remote hub configuration is not provided to the NewHub constructor.
|
|
|
|
// All attempts to download index or items will return this error.
|
|
|
|
ErrNilRemoteHub = errors.New("remote hub configuration is not provided. Please report this issue to the developers")
|
2023-11-07 09:27:33 +00:00
|
|
|
ErrIndexNotFound = errors.New("index not found")
|
2023-10-31 15:32:29 +00:00
|
|
|
)
|