oceanbase/tools/upgrade/my_error.py
2021-12-20 21:06:47 +08:00

9 lines
174 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: utf-8 -*-
class MyError(Exception):
def __init__(self, value):
self.value = value
def __str__(self):
return repr(self.value)