Files
OpenRAM/compiler/base/errors.py
T

20 lines
535 B
Python
Raw Normal View History

2022-11-30 14:50:43 -08:00
# See LICENSE for licensing information.
#
2024-01-03 14:32:44 -08:00
# Copyright (c) 2016-2024 Regents of the University of California, Santa Cruz
2022-11-30 14:50:43 -08:00
# All rights reserved.
#
2020-04-08 16:55:45 -07:00
class drc_error(Exception):
"""Exception raised for DRC errors.
Attributes:
expression -- input expression in which the error occurred
message -- explanation of the error
"""
# def __init__(self, expression, message):
# self.expression = expression
# self.message = message
def __init__(self, message):
self.message = message