Debian Codegraph @

scripts/mk_exception.py

raw
1 ############################################
2 # Copyright (c) 2012 Microsoft Corporation
3 #
4 # Author: Leonardo de Moura (leonardo)
5 ############################################
6
7 class MKException(Exception):
8 def __init__(self, value):
9 self.value = value
10 def __str__(self):
11 return repr(self.value)
12