Files
iotlcm/admin-svr/server/internal/logic/iot/simcardbatch/dataswitch/errors.go
T

12 lines
298 B
Go

package dataswitch
import "github.com/gogf/gf/v2/errors/gerror"
func invalidOperation(op Operation) error {
return gerror.Newf("不支持的数据服务操作: %s", op)
}
func errInvalidBatchType(batchType int) error {
return gerror.Newf("批次类型%d不是数据服务批次", batchType)
}