1<?php 2 3/** 4 * Exception thrown due to invalid fiber actions, such as resuming a terminated fiber. 5 */ 6final class FiberError extends Error 7{ 8 /** 9 * Constructor throws to prevent user code from throwing FiberError. 10 */ 11 public function __construct() 12 { 13 throw new \Error('The "FiberError" class is reserved for internal use and cannot be manually instantiated'); 14 } 15} 16