public static function throwGlobal( $releaseOnThrow = false, $template = null ) {
    if( ! empty( DeferredExceptionsGlobal::$defExcErrorsGlobal )) {
        $message = "There are the following exceptions:\n";
        foreach( DeferredExceptionsGlobal::$defExcErrorsGlobal as $error) {
          $message .= self::__formatMessage( $error, $template ) . "\n";
        }
        if( $releaseOnThrow ){
          DeferredExceptionsGlobal::$defExcErrorsGlobal = [];
        }
        $result = count( DeferredExceptionsGlobal::$defExcErrorsGlobal );
        throw new DeferredExceptionsException( $message );
    }
    return false;
  }
public static function throwGlobal( $releaseOnThrow = false, $template = null ) {
    if( ! empty( DeferredExceptionsGlobal::$defExcErrorsGlobal )) {
        $message = "There are the following exceptions:\n";
        foreach( DeferredExceptionsGlobal::$defExcErrorsGlobal as $error) {
          $message .= self::__formatMessage( $error, $template ) . "\n";
        }
        if( $releaseOnThrow ){
          DeferredExceptionsGlobal::$defExcErrorsGlobal = [];
        }
        $result = count( DeferredExceptionsGlobal::$defExcErrorsGlobal );
        throw new DeferredExceptionsException( $message );
    }
    return false;
  }
public static function throwGlobal ( $ releaseOnThrow = false , $ template = null ) { if ( ! empty ( DeferredExceptionsGlobal :: $ defExcErrorsGlobal ) ) { $ message = "There are the following exceptions:\n" ; foreach ( DeferredExceptionsGlobal :: $ defExcErrorsGlobal as $ error ) { $ message .= self :: __formatMessage ( $ error , $ template ) . "\n" ; } if ( $ releaseOnThrow ) { DeferredExceptionsGlobal :: $ defExcErrorsGlobal = [ ] ; } $ result = count ( DeferredExceptionsGlobal :: $ defExcErrorsGlobal ) ; throw new DeferredExceptionsException ( $ message ) ; } return false ; }
Throws all deferred exceptions of all derived classes.

@param boolean $releaseOnThrow Release a thrown exceptions. Default FALSE.
@param string $template <pre>Template for error list item with fields:
::time      - time of exception
::microtime - time of exception with microseconds
::class     - Class of exception
::code      - exception code
::message   - error message
</pre>
<b>Example</b> "::microtime Exception: `::class`, code: #::code, message: ::message"

@return boolean The global stack of an exceptions is not empty
@throws Seotils\Traits\DeferredExceptionsException
Throws all deferred exceptions of all derived classes .