-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ pub mod contracts { | |
} | ||
|
||
pub mod utils { | ||
pub mod errors; | ||
pub mod types; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pub mod Errors { | ||
pub const NON_EXISTING_ROUND: felt252 = 'Round does not exists'; | ||
pub const NOT_ROUND_ADMIN: felt252 = 'Only round admin can start'; | ||
pub const ROUND_ALREADY_STARTED: felt252 = 'Round already started'; | ||
pub const NON_EXISTING_GENRE: felt252 = 'Genre does not exists'; | ||
pub const ROUND_ALREADY_JOINED: felt252 = 'You are already a player'; | ||
} |