A community based topic aggregation platform built on atproto
at main 450 B view raw
1package unfurl 2 3import "errors" 4 5var ( 6 // ErrNotFound is returned when an unfurl cache entry is not found or has expired 7 ErrNotFound = errors.New("unfurl cache entry not found or expired") 8 9 // ErrInvalidURL is returned when the provided URL is invalid 10 ErrInvalidURL = errors.New("invalid URL") 11 12 // ErrInvalidTTL is returned when the provided TTL is invalid (e.g., negative or zero) 13 ErrInvalidTTL = errors.New("invalid TTL: must be positive") 14)