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

Breadcrumb

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

function PEAR_Exception::getErrorData

Return specific error information that can be used for more detailed error messages or translation.

This method may be overridden in child exception classes in order to add functionality not present in PEAR_Exception and is a placeholder to define API

The returned array must be an associative array of parameter => value like so: <pre> array('name' => $name, 'context' => array(...)) </pre>

Return value

array

File

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

Class

PEAR_Exception
Base PEAR_Exception Class

Code

public function getErrorData() {
    return array();
}

API Navigation

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