Changed API Class to accept closures as the error_function
Changed API Class to accept closures as the error_function

emfluencekc/emfl-api_php-lib,jacobischwartz/emfl-api_php-lib,Cybnext/emfl-api_php-lib