Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ( // InitialError is error when first output InitialError ErrorType = 10 // CommitError is error while try to commit CommitError ErrorType = 11 // PreCommitError is error when setup to commit PreCommitError ErrorType = 12 // BranchError is error when branch management BranchError ErrorType = 20 // ChangelogError is error when export changelog ChangelogError ErrorType = 40 // CheckoutErrror is error occurred when checkout code CheckoutErrror ErrorType = 30 // UserError is error cause by user UserError ErrorType = 50 )
Click to show internal directories.
Click to hide internal directories.