SyntaxFix
Write A Post
Hire A Developer
Questions
Just for others: be sure it is new RuntimeException, not new RuntimeErrorException which needs error as an argument.