summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/peterhellberg/giphy/errors.go
blob: a98bc2f889c85e7f27b8ea710597a34e6d591190 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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")
)