public static function init($args=null) {
    if(is_null(self::$instance)) {
      self::$instance = new ErrorClass($args);
    }
    return self::$instance;
  }
public static function init($args=null) {
    if(is_null(self::$instance)) {
      self::$instance = new ErrorClass($args);
    }
    return self::$instance;
  }
public static function init ( $ args = null ) { if ( is_null ( self :: $ instance ) ) { self :: $ instance = new ErrorClass ( $ args ) ; } return self :: $ instance ; }
args can be array|object. noEmailErrs, development, noHtml, noOutput, errType
args can be array|object . noEmailErrs development noHtml noOutput errType