Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Use toString to extract details on the error occurred.

Constructor

new(message:String, ?previous:Exception, ?native:Any)