include logger.Logger

GitException(){
	curBranchException(){
		Logger logErrorMsg "cannot_${1}_${2}_because_${2}_is_the_current_branch"
	}

	existingBranchException(){
		Logger logErrorMsg "cannot_${1}_${2}_because_${2}_already_exists"
	}

	$@
}
include logger.Logger

GitException(){
	branchDoesNotExistException(){
		Logger logError "cannot_${1}_${2}_because_${2}_does_not_exist"
	}

	curBranchException(){
		Logger logErrorMsg "cannot_${1}_${2}_because_${2}_is_the_current_branch"
	}

	existingBranchException(){
		Logger logErrorMsg "cannot_${1}_${2}_because_${2}_already_exists"
	}

	$@
}
Add exception for when branch does not exist
Add exception for when branch does not exist
