Predefined Exceptions
PHP Manual

AssertionError

(PHP 7)

Introduction

AssertionError is thrown when an assertion made via assert() fails.

Class synopsis

AssertionError extends Error {
/* Inherited methods */
abstract public string Throwable::getMessage ( void )
abstract public int Throwable::getCode ( void )
abstract public string Throwable::getFile ( void )
abstract public int Throwable::getLine ( void )
abstract public array Throwable::getTrace ( void )
abstract public string Throwable::getTraceAsString ( void )
abstract public Throwable Throwable::getPrevious ( void )
abstract public string Throwable::__toString ( void )
}

Predefined Exceptions
PHP Manual