•2 years ago
shared a Post
Hello! I wanna know how to add a warning to your repl because I forgot, thanks!
19ecal What do you mean by that? If you want to make a custom error, you can do this class MyCustomError(Exception): pass You can then raise MyCustomError and catch it with try/except2 years ago