CodeIgniter v4.5 API

DownloadException extends RuntimeException
in package
implements ExceptionInterface uses DebugTraceableTrait

Class DownloadException

Table of Contents

Interfaces

ExceptionInterface
Provides a domain-level interface for broad capture of all framework-related exceptions.

Methods

__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()  : static
forCannotSetCache()  : static
forCannotSetFilePath()  : static
forCannotSetStatusCode()  : static
forNotFoundDownloadSource()  : static

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 = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = ''
$code : int = 0
$previous : Throwable|null = null

forCannotSetBinary()

public static forCannotSetBinary() : static
Return values
static

forCannotSetCache()

public static forCannotSetCache() : static

Since v4.5.6

Return values
static

forCannotSetFilePath()

public static forCannotSetFilePath(string $path) : static
Parameters
$path : string
Return values
static

forCannotSetStatusCode()

public static forCannotSetStatusCode(int $code, string $reason) : static
Parameters
$code : int
$reason : string
Return values
static

forNotFoundDownloadSource()

public static forNotFoundDownloadSource() : static
Return values
static

        
On this page

Search results