CodeIgniter v4.5 API

HoneypotException extends ConfigException
in package
implements ExceptionInterface

Exception for automatic logging.

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.
forDisabledMigrations()  : static
forNoHiddenValue()  : static
Thrown when the hidden value of config is false.
forNoNameField()  : static
Thrown when the name value of config is empty.
forNoTemplate()  : static
Thrown when the template value of config is empty.
getExitCode()  : int
Returns exit status code.
isBot()  : static
Thrown when there are no data in the request of honeypot field.

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

forDisabledMigrations()

public static forDisabledMigrations() : static
Return values
static

forNoHiddenValue()

Thrown when the hidden value of config is false.

public static forNoHiddenValue() : static
Return values
static

forNoNameField()

Thrown when the name value of config is empty.

public static forNoNameField() : static
Return values
static

forNoTemplate()

Thrown when the template value of config is empty.

public static forNoTemplate() : static
Return values
static

getExitCode()

Returns exit status code.

public getExitCode() : int
Return values
int

isBot()

Thrown when there are no data in the request of honeypot field.

public static isBot() : static
Return values
static

        
On this page

Search results