CodeIgniter v4.5 API

I18nException extends FrameworkException
in package

I18nException

Table of Contents

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.
forCopyError()  : static
forEnabledZlibOutputCompression()  : static
forFabricatorCreateFailed()  : static
forInvalidDay()  : static
Thrown when the supplied day falls outside the range of allowed days.
forInvalidDirectory()  : static
forInvalidFile()  : static
forInvalidFormat()  : static
Thrown when createFromFormat fails to receive a valid DateTime back from DateTime::createFromFormat.
forInvalidHour()  : static
Thrown when the supplied hour falls outside the range of allowed hours.
forInvalidMinutes()  : static
Thrown when the supplied minutes falls outside the range of allowed minutes.
forInvalidMonth()  : static
Thrown when the numeric representation of the month falls outside the range of allowed months.
forInvalidOverDay()  : static
Thrown when the day provided falls outside the allowed last day for the given month.
forInvalidSeconds()  : static
Thrown when the supplied seconds falls outside the range of allowed seconds.
forMissingExtension()  : static
forNoHandlers()  : 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

forCopyError()

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

forEnabledZlibOutputCompression()

public static forEnabledZlibOutputCompression() : static
Return values
static

forFabricatorCreateFailed()

public static forFabricatorCreateFailed(string $table, string $reason) : static
Parameters
$table : string
$reason : string
Return values
static

forInvalidDay()

Thrown when the supplied day falls outside the range of allowed days.

public static forInvalidDay(string $day) : static
Parameters
$day : string
Return values
static

forInvalidDirectory()

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

forInvalidFile()

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

forInvalidFormat()

Thrown when createFromFormat fails to receive a valid DateTime back from DateTime::createFromFormat.

public static forInvalidFormat(string $format) : static
Parameters
$format : string
Return values
static

forInvalidHour()

Thrown when the supplied hour falls outside the range of allowed hours.

public static forInvalidHour(string $hour) : static
Parameters
$hour : string
Return values
static

forInvalidMinutes()

Thrown when the supplied minutes falls outside the range of allowed minutes.

public static forInvalidMinutes(string $minutes) : static
Parameters
$minutes : string
Return values
static

forInvalidMonth()

Thrown when the numeric representation of the month falls outside the range of allowed months.

public static forInvalidMonth(string $month) : static
Parameters
$month : string
Return values
static

forInvalidOverDay()

Thrown when the day provided falls outside the allowed last day for the given month.

public static forInvalidOverDay(string $lastDay, string $day) : static
Parameters
$lastDay : string
$day : string
Return values
static

forInvalidSeconds()

Thrown when the supplied seconds falls outside the range of allowed seconds.

public static forInvalidSeconds(string $seconds) : static
Parameters
$seconds : string
Return values
static

forMissingExtension()

public static forMissingExtension(string $extension) : static

No longer used.

Parameters
$extension : string
Return values
static

forNoHandlers()

public static forNoHandlers(string $class) : static
Parameters
$class : string
Return values
static

        
On this page

Search results