mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-10 08:40:29 +00:00
18 lines
516 B
Go
18 lines
516 B
Go
|
package giphy
|
||
|
|
||
|
import "errors"
|
||
|
|
||
|
var (
|
||
|
// ErrNoImageFound is the error returned when no image was found
|
||
|
ErrNoImageFound = errors.New("no image found")
|
||
|
|
||
|
// ErrUnknown is used for unknown errors from the Giphy API
|
||
|
ErrUnknown = errors.New("unknown error")
|
||
|
|
||
|
// ErrNoTrendingImagesFound is returned when no trending images were found
|
||
|
ErrNoTrendingImagesFound = errors.New("no trending images found")
|
||
|
|
||
|
// ErrNoRawData is returned if there was no data property in response
|
||
|
ErrNoRawData = errors.New("no raw data")
|
||
|
)
|