Debian Codegraph @

src/timeago/excepts.py

raw symbols SCIP
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 '''
4 Created on 2016-5-26
5
6 @author: hustcc
7 '''
8
9
10 # parameter not valid
11 class ParameterUnvalid(Exception):
12
13 def __init__(self, value):
14 self.value = value
15
16 def __str__(self):
17 return repr(self.value)