Skip to content
Snippets Groups Projects
Commit 26470c66 authored by Pavel Antonov's avatar Pavel Antonov :asterisk:
Browse files

Merge branch 'feature/PRXS-2646-AddLocalesErrors' into 'master'

Добавлены ошибки для сервиса Locales

See merge request perxis/perxis-go!257
parents 22684f9f 526baecd
No related branches found
No related tags found
No related merge requests found
package locales package locales
import "git.perx.ru/perxis/perxis-go/pkg/service" import (
"git.perx.ru/perxis/perxis-go/pkg/errors"
"git.perx.ru/perxis/perxis-go/pkg/service"
)
var ( var (
ErrNotFound = service.ErrNotFound ErrNotFound = service.ErrNotFound
ErrAlreadyExists = service.ErrAlreadyExists ErrAlreadyExists = service.ErrAlreadyExists
ErrSpaceIDRequired = errors.New("space id is required")
ErrLocaleValueEmpty = errors.New("locale value cannot be empty")
ErrLocaleIDRequired = errors.New("locale id is required")
ErrLocaleCodeRequired = errors.New("locale code is required")
ErrDisableDefaultLocale = errors.New("cannot disable default locale")
ErrDisablePublishingDefaultLocale = errors.New("cannot disable publishing for default locale")
ErrSetDefaultLocaleFallback = errors.New("cannot set fallback for default locale")
ErrDeleteDefaultLocale = errors.New("cannot delete default locale")
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment