mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-12 16:04:57 +08:00
* feat: add tag search api * feat: add apis to add/remove bookmark tags * chore: removed debug logger * docs: updated swagger * test: added tests * test: invalid ids * feat: webapp v2 * chore: updated swagger * fix: route params missing * feat: added cors middleware * feat: built api implementation * feat: implemented login in webapp * feat; dark mode in web app * feat: labels + i18n * refactor: remove custom message output in json apis * docs: updated swagger * chore: make lint * chore: make styles * fix: include new webapp dist files (for now)
13 lines
353 B
Go
13 lines
353 B
Go
package model
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrBookmarkNotFound = errors.New("bookmark not found")
|
|
ErrBookmarkInvalidID = errors.New("invalid bookmark ID")
|
|
ErrTagNotFound = errors.New("tag not found")
|
|
|
|
ErrUnauthorized = errors.New("unauthorized user")
|
|
ErrNotFound = errors.New("not found")
|
|
ErrAlreadyExists = errors.New("already exists")
|
|
)
|