PHP Class yii\web\RangeNotSatisfiableHttpException
This exception thrown when the requested range is not satisfiable: the client asked for a portion of
the file (byte serving), but the server cannot supply that portion. For example, if the client asked for
a part of the file that lies beyond the end of the file.
Throwing an RangeNotSatisfiableHttpException like in the following example will result in the error page
with error 416 to be displayed.
Show file
Open project: yiisoft/yii2
Public Methods
Method Details
__construct()
public method
public __construct ( string $message = null, integer $code, Exception $previous = null ) |
$message |
string |
error message |
$code |
integer |
error code |
$previous |
Exception |
The previous exception used for the exception chaining. |