mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 06:16:37 +08:00
30 lines
1.0 KiB
Go
30 lines
1.0 KiB
Go
/*
|
|
Copyright 2025-2026 linux.do
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package task
|
|
|
|
const (
|
|
InvalidTaskType = "无效的任务类型"
|
|
InvalidTimeRange = "无效的时间范围"
|
|
TaskDispatchFailed = "任务下发失败"
|
|
UserIDRequired = "用户ID必填"
|
|
TaskNotFound = "任务执行记录不存在"
|
|
TaskNotRetryable = "该任务不支持重试"
|
|
TaskNotFailed = "只有失败的任务才能重试"
|
|
TaskMaxRetryExceeded = "已达到最大重试次数"
|
|
TaskRetryFailed = "任务重试失败"
|
|
)
|