def __init__(self, error, details=None):
        """Initialize LupusecException."""
        # Call the base class constructor with the parameters it needs
        super(LupusecException, self).__init__(error[1])

        self.errcode = error[0]
        self.message = error[1]
        self.details = details
def __init__ ( self , error , details = None ) : super ( LupusecException , self ) . __init__ ( error [ 1 ] ) self . errcode = error [ 0 ] self . message = error [ 1 ] self . details = details
Initialize LupusecException.