Skip to content
Snippets Groups Projects
Commit 526baecd authored by Semyon Krestyaninov's avatar Semyon Krestyaninov :dog2: Committed by Pavel Antonov
Browse files

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

parent 22684f9f
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