cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm leaflet readability golang
29
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 45b93e8b8739f75beca6952c05f7889faef41b24 19 lines 352 B view raw
1// package shared contains constants used across the codebase 2package shared 3 4import ( 5 "errors" 6 "fmt" 7) 8 9var ( 10 ErrConfig error = fmt.Errorf("configuration error") 11) 12 13func ConfigError(m string, err error) error { 14 return errors.Join(ErrConfig, fmt.Errorf("%s: %w", m, err)) 15} 16 17func IsConfigError(err error) bool { 18 return errors.Is(err, ErrConfig) 19}