wip: starting point

This commit is contained in:
2025-05-20 15:16:55 -05:00
parent 3074b2d5f1
commit 709dc07cf6
2 changed files with 43 additions and 0 deletions

View File

@@ -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]);
}
}