sponge/internal/ecode/http_systemCode.go

23 lines
714 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package ecode
import "github.com/zhufuyi/sponge/pkg/errcode"
// nolint
// http系统级别错误码无Err前缀错误码小于20000
var (
Success = errcode.Success
InvalidParams = errcode.InvalidParams
Unauthorized = errcode.Unauthorized
InternalServerError = errcode.InternalServerError
NotFound = errcode.NotFound
AlreadyExists = errcode.AlreadyExists
Timeout = errcode.Timeout
TooManyRequests = errcode.TooManyRequests
Forbidden = errcode.Forbidden
LimitExceed = errcode.LimitExceed
DeadlineExceeded = errcode.DeadlineExceeded
AccessDenied = errcode.AccessDenied
MethodNotAllowed = errcode.MethodNotAllowed
)