Documentation

MediaSourceException extends Exception

MediaSource Exception

Tags
copyright

Cloudrexx AG

author

Reto Kohli reto.kohli@comvation.com

subpackage

core_mediasource

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_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
Return values
MediaSourceException

        
On this page

Search results