2022-09-30 00:42:19 +02:00
|
|
|
package search
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"github.com/photoprism/photoprism/internal/i18n"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
ErrForbidden = i18n.Error(i18n.ErrForbidden)
|
|
|
|
ErrBadRequest = i18n.Error(i18n.ErrBadRequest)
|
2022-09-30 19:15:10 +02:00
|
|
|
ErrBadSortOrder = fmt.Errorf("invalid sort order")
|
|
|
|
ErrBadFilter = fmt.Errorf("invalid search filter")
|
2022-09-30 00:42:19 +02:00
|
|
|
ErrInvalidId = fmt.Errorf("invalid ID specified")
|
|
|
|
)
|