Which one should I use and why?
Code:
throw 'my error';throw new Error('my error');
throw 'my error';throw new Error('my error');
Original thread: https://forums.rpgmakerweb.com/threads/solved-throw-my-error-vs-throw-new-error-error.52959/