📄 exceptions.py
字号:
"This module defines exceptions for FFC."__author__ = "Anders Logg (logg@simula.no)"__date__ = "2005-09-14"__copyright__ = "Copyright (C) 2005 Anders Logg"__license__ = "GNU GPL version 3 or any later version"class FFCError(Exception): "Base class for FFC exceptions." passclass FormError(FFCError): """Exception raised for errors in the definition of a form. Attributes: expression -- input expression in which the error occurred message -- explanation of the error """ def __init__(self, expression, message): "Create FormError." self.expression = expression self.message = message return
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -