Throwable::getPrevious
En esta página
Throwable::getPrevious
Devuelve el objeto Throwable previo
Descripción#
php
public Throwable::getPrevious(): Throwablephp
Devuelve el objeto Throwable previo (por ejemplo, uno proporcionado como tercer parámetro de Exception::__construct).
Parámetros#
Esta función no contiene ningún parámetro.
Valores devueltos#
Devuelve el objeto Throwable anterior si está disponible, o null si no lo está.
Véase también#
Exception::getPrevious