errors.go 390 B

123456789101112
  1. package cwhub
  2. import (
  3. "errors"
  4. )
  5. var (
  6. // ErrNilRemoteHub is returned when the remote hub configuration is not provided to the NewHub constructor.
  7. // All attempts to download index or items will return this error.
  8. ErrNilRemoteHub = errors.New("remote hub configuration is not provided. Please report this issue to the developers")
  9. ErrIndexNotFound = errors.New("index not found")
  10. )