DEV Community

Discussion on: What is your favourite function()?

Collapse
 
maxmaxymenko profile image
Max Maxymenko • Edited

Love throwing exceptions around ;)

throw new Exception("...");
throw Error("...");
raise Exception.Create('...');