2019-07-02 22:03:23 +02:00
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
2020-02-21 01:14:45 +01:00
|
|
|
// Define photoprism specific errors
|
2019-07-02 22:03:23 +02:00
|
|
|
var (
|
2019-12-11 14:10:20 +01:00
|
|
|
ErrReadOnly = errors.New("not available in read-only mode")
|
2019-11-11 21:10:41 +01:00
|
|
|
ErrUnauthorized = errors.New("please log in and try again")
|
2019-12-15 17:19:16 +01:00
|
|
|
ErrUploadNSFW = errors.New("upload might be offensive")
|
2019-07-02 22:03:23 +02:00
|
|
|
)
|