wip: starting point
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?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]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user