Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
590649af
Commit
590649af
authored
Nov 20, 2018
by
gitlab
Committed by
vipwzw
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto ci
parent
09d43a1a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
doc.go
plugin/dapp/game/executor/doc.go
+0
-0
errors.go
plugin/dapp/game/types/errors.go
+8
-8
types.go
plugin/dapp/game/types/types.go
+0
-0
No files found.
plugin/dapp/game/executor/doc.go
View file @
590649af
plugin/dapp/game/types/errors.go
View file @
590649af
...
@@ -8,12 +8,12 @@ import "fmt"
...
@@ -8,12 +8,12 @@ import "fmt"
// some errors definition
// some errors definition
var
(
var
(
ErrGameCreateAmount
=
fmt
.
Errorf
(
"%s"
,
"You fill in more than the maximum number of games."
)
ErrGameCreateAmount
=
fmt
.
Errorf
(
"%s"
,
"You fill in more than the maximum number of games."
)
ErrGameCancleAddr
=
fmt
.
Errorf
(
"%s"
,
"You don't have permission to cancel someone else's game."
)
ErrGameCancleAddr
=
fmt
.
Errorf
(
"%s"
,
"You don't have permission to cancel someone else's game."
)
ErrGameCloseAddr
=
fmt
.
Errorf
(
"%s"
,
"The game time has not yet expired,You don't have permission to call yet."
)
ErrGameCloseAddr
=
fmt
.
Errorf
(
"%s"
,
"The game time has not yet expired,You don't have permission to call yet."
)
ErrGameTimeOut
=
fmt
.
Errorf
(
"%s"
,
"The game has expired.,You don't have permission to call."
)
ErrGameTimeOut
=
fmt
.
Errorf
(
"%s"
,
"The game has expired.,You don't have permission to call."
)
ErrGameMatchStatus
=
fmt
.
Errorf
(
"%s"
,
"can't join the game, the game has matched or finished!"
)
ErrGameMatchStatus
=
fmt
.
Errorf
(
"%s"
,
"can't join the game, the game has matched or finished!"
)
ErrGameMatch
=
fmt
.
Errorf
(
"%s"
,
"can't join the game, You can't match the game you created!"
)
ErrGameMatch
=
fmt
.
Errorf
(
"%s"
,
"can't join the game, You can't match the game you created!"
)
ErrGameCancleStatus
=
fmt
.
Errorf
(
"%s"
,
"can't cancle the game, the game has matched!"
)
ErrGameCancleStatus
=
fmt
.
Errorf
(
"%s"
,
"can't cancle the game, the game has matched!"
)
ErrGameCloseStatus
=
fmt
.
Errorf
(
"%s"
,
"can't close the game again, the game has finished!"
)
ErrGameCloseStatus
=
fmt
.
Errorf
(
"%s"
,
"can't close the game again, the game has finished!"
)
)
)
plugin/dapp/game/types/types.go
View file @
590649af
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment