Descripción
Define a basic custom exception with a message constructor
File Template: ❌
Prefix
ex:class-runtime
Scopes
python
Snippet de código
class ${1:MyCustomException}(Exception):
def __init__(self, message):
super().__init__(message)
Define a basic custom exception with a message constructor
ex:class-runtime
python
class ${1:MyCustomException}(Exception):
def __init__(self, message):
super().__init__(message)