Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorMessage ¶
ErrorMessage throw by message
func ShowAndExit ¶
func ShowAndExit(t *manager.Throwable)
ShowAndExit is util method for show error message and instant exit program
Types ¶
type ErrorType ¶
type ErrorType int
ErrorType for throw
const ( // IsInitial is error when first output IsInitial ErrorType = 10 // IsCommit is error while try to commit IsCommit ErrorType = 20 // IsPreCommit is error when setup to commit IsPreCommit ErrorType = 19 // IsPostCommit is error when cleanup after commit completed IsPostCommit ErrorType = 21 // IsBranch is error when branch management IsBranch ErrorType = 20 // IsCheckout is error occurred when checkout code IsCheckout ErrorType = 30 // IsChangelog is error when export changelog IsChangelog ErrorType = 40 // IsUser is error cause by user IsUser ErrorType = 50 // IsLibrary is error cause by external libraries IsLibrary ErrorType = 100 )
Click to show internal directories.
Click to hide internal directories.