solutions

Throw an exception

Create a simple function that throws an exception (called "Exception") when run.

throw_exception() == "Exception: Something went wrong"

Test Cases

tests

[]