123456789101112131415 |
- // Copyright 2019 autocareai.com. All rights reserved.
- // Use of this source code is governed by autocareai.com.
- package errors
- import (
- "google.golang.org/grpc/status"
- )
- var (
- // 通用错误
- SystemError = status.Error(10001, "系统错误")
- ServiceError = status.Error(10002, "内部服务错误")
- ParmsError = status.Error(20003, "参数错误")
- )
|