offline-twitter/pkg/scraper/api_errors.go

13 lines
298 B
Go
Raw Normal View History

2022-03-06 19:27:30 -08:00
package scraper
import (
"fmt"
)
2022-03-06 20:31:04 -08:00
var (
2022-03-13 17:09:43 -07:00
END_OF_FEED = fmt.Errorf("End of feed")
DOESNT_EXIST = fmt.Errorf("Doesn't exist")
EXTERNAL_API_ERROR = fmt.Errorf("Unexpected result from external API")
API_PARSE_ERROR = fmt.Errorf("Couldn't parse the result returned from the API")
2022-03-06 20:31:04 -08:00
)