17 lines
462 B
PHP
17 lines
462 B
PHP
<?php
|
|
|
|
namespace App\Download\Action\Handler\Exception;
|
|
|
|
class RealDebridBadUrlException extends \Exception
|
|
{
|
|
public function __construct(string $type)
|
|
{
|
|
$messages = [
|
|
'file_downloading' => 'This file appears to be Real Debrid\'s "Torrent is downloading..." video.',
|
|
'file_removed' => 'This file appears to be Real Debrid\'s "File is removed..." video.',
|
|
];
|
|
|
|
parent::__construct($messages[$type]);
|
|
}
|
|
}
|