photoprism/internal/config/errors.go

12 lines
231 B
Go
Raw Normal View History

package config
import (
"errors"
)
var (
ErrReadOnly = errors.New("not available in read-only mode")
ErrUnauthorized = errors.New("please log in and try again")
ErrUploadNSFW = errors.New("upload might be offensive")
)