LaravelDatabaseException

Summary

No public properties found
No constants found
No private methods found
No private properties found
N/A
File
databaseexception.php
Package
Default
Class hierarchy
Exception
LaravelDatabaseException

Tags

None found

Properties

$inner

$inner : \Laravel\Database\Exception

The inner exception.

Type

LaravelDatabaseException

Tags

None found

Methods

__construct()

__construct(string  $sql, array  $bindings, \Laravel\Database\Exception  $inner) : void

Create a new database exception instance.

Parameters

string $sql
array $bindings
LaravelDatabaseException $inner

Tags

None found

getInner()

getInner() : \Laravel\Database\Exception

Get the inner exception.

Returns

LaravelDatabaseException

Tags

None found

setMessage()

setMessage(string  $sql, array  $bindings) : void

Set the exception message to include the SQL and bindings.

Parameters

string $sql
array $bindings

Tags

None found