errors

package
v0.0.0-...-92d620a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorCinemaFailed = errors.New(
		config.ServiceNameUser, "操作异常", errorCodeCinemaSuccess,
	)
	ErrorCinemaNotFound = errors.New(
		config.ServiceNameUser, "找不到对应的影院", errorCodeCinemaSuccess,
	)
)
View Source
var (
	ErrorCMSFailed = errors.New(
		config.ServiceNameCMS, "操作异常", errorCodeCMSFailed,
	)
	ErrorCMSLogin = errors.New(
		config.ServiceNameCMS, "登录异常", errorCodeCMSFailed,
	)
	ErrorCMSFailedParam = errors.New(
		config.ServiceNameCMS, "参数异常", errorCodeCMSFailed,
	)
	ErrorCMSForbiddenParam = errors.New(
		config.ServiceNameCMS, "没有查询的权限", errorCodeCMSFailed,
	)
	ErrorCMSAlreadyRegister = errors.New(
		config.ServiceNameCMS, "已经添加过影院~", errorCodeCMSFailed,
	)
)
View Source
var (
	ErrorOrderFailed = errors.New(
		config.ServiceNameOrder, "操作异常", errorCodeOrderSuccess,
	)
	ErrorOrderAlreadyScore = errors.New(
		config.ServiceNameOrder, "已经评分了!", errorCodeOrderSuccess,
	)
)
View Source
var (
	ErrorUserSuccess = errors.New(
		config.ServiceNameUser, "操作成功", errorCodeUserSuccess,
	)

	ErrorUserFailed = errors.New(
		config.ServiceNameUser, "操作异常", errorCodeUserSuccess,
	)

	ErrorUserAlready = errors.New(
		config.ServiceNameUser, "该邮箱已经被注册过了~", errorCodeUserSuccess,
	)

	ErrorUserLoginFailed = errors.New(
		config.ServiceNameUser, "密码或者用户名错误~", errorCodeUserSuccess,
	)

	ErrorScoreForbid = errors.New(
		config.ServiceNameUser, "你没有买过该电影票,无法进行评分~~", errorCodeUserSuccess,
	)
)
View Source
var (
	ErrorCommentFailed = errors.New(
		config.ServiceNameUser, "操作异常", errorCodeCommentSuccess,
	)
)
View Source
var (
	ErrorFilmFailed = errors.New(
		config.ServiceNameUser, "操作异常", errorCodeFilmSuccess,
	)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL