[PYTHON] Proprietary exception class


#Unique exception class that inherits Exception
class OriginalError(Exception):
    pass

raise OriginalError('test')

Recommended Posts

Proprietary exception class
Python exception class list
class
class
Class variables
Exception handling
Class variables
Class inheritance
Abstract class