text: '''
  Created on Oct 23, 2014
  
  @author: Itay Moav
  '''
  
  class CLIError(Exception):
      '''Generic exception to raise and log different fatal errors.'''
      def __init__(self, msg):
          super(CLIError).__init__(type(self))
          self.msg = "E: %s" % msg
      def __str__(self):
          return self.msg
      def __unicode__(self):
          return self.msg