static function get_errors( $emask = null ) {
		$all = array();
		foreach( self::$stack as $type => $errs ){
			if( $emask === null || $type & $emask ) {
				foreach( $errs as $Err ){
					$all[] = $Err;
				}
			}
		}
		return $all;
	}
static function get_errors( $emask = null ) {
		$all = array();
		foreach( self::$stack as $type => $errs ){
			if( $emask === null || $type & $emask ) {
				foreach( $errs as $Err ){
					$all[] = $Err;
				}
			}
		}
		return $all;
	}
static function get_errors ( $ emask = null ) { $ all = array ( ) ; foreach ( self :: $ stack as $ type => $ errs ) { if ( $ emask === null || $ type & $ emask ) { foreach ( $ errs as $ Err ) { $ all [ ] = $ Err ; } } } return $ all ; }
Get all raised errors of specific types
@param int optional type bitmask
@return array
Get all raised errors of specific types