Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Exception.php

function PEAR_Exception::getErrorClass

Gets the first class of the backtrace

Return value

string Class name

File

vendor/pear/pear_exception/PEAR/Exception.php, line 338

Class

PEAR_Exception
Base PEAR_Exception Class

Code

public function getErrorClass() {
    $trace = $this->getTraceSafe();
    return $trace[0]['class'];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal