SyntaxFix
Write A Post
Hire A Developer
Questions
You can just use the error function that's built in to the math library, as stated on their website.