-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.go
29 lines (26 loc) · 1.37 KB
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package types
import "errors"
// Errors for lottery
var (
ErrNoPrivilege = errors.New("ErrNoPrivilege")
ErrLotteryStatus = errors.New("ErrLotteryStatus")
ErrLotteryDrawActionInvalid = errors.New("ErrLotteryDrawActionInvalid")
ErrLotteryFundNotEnough = errors.New("ErrLotteryFundNotEnough")
ErrLotteryCreatorBuy = errors.New("ErrLotteryCreatorBuy")
ErrLotteryBuyAmount = errors.New("ErrLotteryBuyAmount")
ErrLotteryRepeatHash = errors.New("ErrLotteryRepeatHash")
ErrLotteryPurBlockLimit = errors.New("ErrLotteryPurBlockLimit")
ErrLotteryDrawBlockLimit = errors.New("ErrLotteryDrawBlockLimit")
ErrLotteryBuyNumber = errors.New("ErrLotteryBuyNumber")
ErrLotteryShowRepeated = errors.New("ErrLotteryShowRepeated")
ErrLotteryShowError = errors.New("ErrLotteryShowError")
ErrLotteryErrLuckyNum = errors.New("ErrLotteryErrLuckyNum")
ErrLotteryErrCloser = errors.New("ErrLotteryErrCloser")
ErrLotteryErrUnableClose = errors.New("ErrLotteryErrUnableClose")
ErrNodeNotExist = errors.New("ErrNodeNotExist")
ErrEmptyMinerTx = errors.New("ErrEmptyMinerTx")
ErrRewardFactor = errors.New("ErrRewardFactor")
)