mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 22:05:47 -05:00
19 lines
361 B
PHP
19 lines
361 B
PHP
<?php
|
|||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace Pterodactyl\Contracts\Transfers;
|
||
|
|
|
||
|
|
use Pterodactyl\Models\ServerTransfer;
|
||
|
|
use Throwable;
|
||
|
|
|
||
|
|
interface FailsTransfers
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Marks the transfer as failed and releases the allocations reserved on the target node.
|
||
|
|
*
|
||
|
|
* @throws Throwable
|
||
|
|
*/
|
||
|
|
public function fail(ServerTransfer $transfer): void;
|
||
|
|
}
|