Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DbError = iota makes the error to be incremental, DbError = 0, AuthError=1, etc DbError = iota // RouterError = 1 RouterError // ApiError = 2 ApiError // BackupError BackupError // FileError = 3 FileError // PlayerError = 4 PlayerError // MatchError = 5 MatchError )
-------------------------------- ERRORS Errors const
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
HandleError handles the different errors code to perform the required actions or just print the errors in a different way
Types ¶
Click to show internal directories.
Click to hide internal directories.