You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
704 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. package models
  2. import "errors"
  3. var ErrNotFound = errors.New("not found")
  4. var ErrInvalidName = errors.New("invalid name")
  5. var ErrBadInput = errors.New("bad input")
  6. var ErrBadColor = errors.New("bad color")
  7. var ErrInternal = errors.New("internal")
  8. var ErrUnknownColorFormat = errors.New("unknown color format")
  9. var ErrUnknownDriver = errors.New("unknown driver")
  10. var ErrMissingToken = errors.New("driver is missing authentication information")
  11. var ErrIncorrectToken = errors.New("driver is not accepting authentication information")
  12. var ErrUnexpectedResponse = errors.New("driver api returned unexpected response (wrong driver selected?)")
  13. var ErrBridgeSearchFailed = errors.New("bridge search failed")