# -*- coding: utf-8 -*-# Copyright 2015 LasLabs Inc.# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).fromopenerp.exceptionsimportWarningasUserErrorclassPassError(UserError):""" Example: When you try to create an insecure password."""def__init__(self,msg):self.message=msgsuper(PassError,self).__init__(msg)