Instead of _exit_, the code should throw an exception or return an error message.
Instead of exit, the code should throw an exception or return an error message.