MediaSourceException
extends Exception
in package
MediaSource Exception
Tags
Table of Contents
Constants
- STATUS_200 = 200
- Supported status codes
- STATUS_400 = 400
- STATUS_403 = 403
- STATUS_404 = 404
- STATUS_TEXT = [200 => 'Success', 400 => 'Bad Request', 403 => 'Forbidden', 404 => 'Not Found']
- Text for known status
Methods
- __construct() : MediaSourceException
- Construct a MediaSourceException
Constants
STATUS_200
Supported status codes
public
mixed
STATUS_200
= 200
STATUS_400
public
mixed
STATUS_400
= 400
STATUS_403
public
mixed
STATUS_403
= 403
STATUS_404
public
mixed
STATUS_404
= 404
STATUS_TEXT
Text for known status
public
mixed
STATUS_TEXT
= [200 => 'Success', 400 => 'Bad Request', 403 => 'Forbidden', 404 => 'Not Found']
Methods
__construct()
Construct a MediaSourceException
public
__construct([string $message = '' ][, int $code = 0 ][, Throwable $previous = null ]) : MediaSourceException
Used to pass the status back to the caller. Applies the default code or message for 400 Bad Request if either is empty or invalid.
Parameters
- $message : string = ''
- $code : int = 0
- $previous : Throwable = null