Class DataException

Summary

Fully Qualified Name: CodeIgniter\Database\Exceptions\DataException
Extends: RuntimeException
Implements: ExceptionInterface

Description

Methods

Name Description Defined By
forEmptyDataset() Used by Model's insert/update methods when there isn't any data to actually work with. DataException
forEmptyInputGiven() DataException
forFindColumnHaveMultipleColumns() DataException
forInvalidAllowedFields() DataException
forInvalidArgument() Thrown when an argument for one of the Model's methods were empty or otherwise invalid, and they could not be to work correctly for that method. DataException
forInvalidMethodTriggered() Used by the Model's trigger() method when the callback cannot be found. DataException
forTableNotFound() DataException

Method Details

forEmptyDataset()

Used by Model's insert/update methods when there isn't any data to actually work with.

Parameter Name Type Description
$mode string

Returns: \CodeIgniter\Database\Exceptions\DataException

forEmptyInputGiven()

Parameter Name Type Description
$argument

Returns: void

forFindColumnHaveMultipleColumns()

Returns: void

forInvalidAllowedFields()

Parameter Name Type Description
$model

Returns: void

forInvalidArgument()

Thrown when an argument for one of the Model's methods were empty or otherwise invalid, and they could not be to work correctly for that method.

Parameter Name Type Description
$argument string

Returns: \CodeIgniter\Database\Exceptions\DataException

forInvalidMethodTriggered()

Used by the Model's trigger() method when the callback cannot be found.

Parameter Name Type Description
$method string

Returns: \CodeIgniter\Database\Exceptions\DataException

forTableNotFound()

Parameter Name Type Description
$table

Returns: void

Top