Automator_Exception

Class Automator_Exception

Contents

  • Methods

  • Source Source

    File: src/core/lib/utilities/error/class-automator-exception.php

    class Automator_Exception extends \Exception {
    	/**
    	 * @var
    	 */
    	public static $instance;
    
    	/**
    	 * @return Automator_Exception
    	 */
    	public static function get_instance() {
    
    		if ( null === self::$instance ) {
    			self::$instance = new self();
    		}
    
    		return self::$instance;
    	}
    }
    

    Methods Methods