protected static function __formatMessage( array $error, $template = null ) {
    static $patterns = [
      '~\:\:time~us',
      '~\:\:microtime~us',
      '~\:\:class~us',
      '~\:\:code~us',
      '~\:\:message~us',
    ];
    if( empty( $error ['time'] )) $error ['time'] = microtime( true );
    if( empty( $error ['class'] )) $error ['class'] = __NAMESPACE__ .'\DeferredExceptionsException';
    if( empty( $error ['code'] )) $error ['code'] = 0;
    if( empty( $error ['message'] )) $error ['message'] = '';

    $time= [];
    preg_match('~(\d*)(\.(\d{0,6}))?~', $error ['time'], $time);
    $sec =  (int) $time [1];
    $usec = sprintf( '%0-6s', isset( $time [3]) ? (int) $time [3] : 0);

    $replaces = [
      date('Y-m-d H:i:s', $sec),
      date('Y-m-d H:i:s', $sec) . ':' . $usec,
      $error ['class'],
      $error ['code'],
      $error ['message'],
    ];

    return preg_replace(
        $patterns, $replaces,
        ! empty( $template ) && is_string( $template )
          ? $template
          : DeferredExceptionsGlobal::$defExcDefaultErrorListTemplate
    );
  }