Skip to content

Add opt-in when constructing Idlemon for throwing exceptions

Instead of defaulting to throwing exceptions on errors, the constructor should take an additional and optional argument $throwsExceptions = false which determines if an exception is thrown or just returning false on error.