JSRUN
class CustomError(Exception): def __init__(self,message): self.message=message def __str__(self): return f'Error is : {self.message}'
使用此草稿 删除草稿
class CustomError(Exception): def init(self,message): self.message=message
def __str__(self): return f'Error is : {self.message}'