◐ Shell
clean mode source ↗

CodeIgniter v4.7 API

DatabaseException extends RuntimeException implements ExceptionInterface, HasExitCodeInterface

Exception thrown if an error which can only be found on runtime occurs.

Table of Contents

Interfaces

ExceptionInterface
Provides a domain-level interface for broad capture of all database-related exceptions.
HasExitCodeInterface
Interface for Exceptions that has exception code as exit code.

Methods

getExitCode()  : int
Returns exit status code.

getExitCode()

Returns exit status code.

public getExitCode() : int
Return values
int