DownloadException
extends RuntimeException
in package
implements
ExceptionInterface
Uses
DebugTraceableTrait
Class DownloadException
Interfaces, Classes and Traits
- ExceptionInterface
- Provides a domain-level interface for broad capture of all framework-related exceptions.
Table of Contents
- __construct() : mixed
- Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
- forCannotSetBinary() : mixed
- forCannotSetCache() : mixed
- forCannotSetFilePath() : mixed
- forCannotSetStatusCode() : mixed
- forNotFoundDownloadSource() : mixed
Methods
__construct()
Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.
public
final __construct([string $message = '' ], int $code[, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ''
- $code : int
- $previous : Throwable|null = null
Return values
mixed —forCannotSetBinary()
public
static forCannotSetBinary() : mixed
Return values
mixed —forCannotSetCache()
public
static forCannotSetCache() : mixed
Return values
mixed —forCannotSetFilePath()
public
static forCannotSetFilePath(string $path) : mixed
Parameters
- $path : string
Return values
mixed —forCannotSetStatusCode()
public
static forCannotSetStatusCode(int $code, string $reason) : mixed
Parameters
- $code : int
- $reason : string
Return values
mixed —forNotFoundDownloadSource()
public
static forNotFoundDownloadSource() : mixed