Search for errors

  1. Search 9.5.x for errors
  2. Search 8.9.x for errors
  3. Search 10.3.x for errors
  4. Search 11.x for errors
  5. Other projects
Title Object type File name Summary
DrupalErrorCollectionUnitTest::$collectedErrors property modules/simpletest/tests/common.test Errors triggered during the test.
errors.inc file includes/errors.inc Functions for error handling.
FieldValidationException::$errors property modules/field/field.attach.inc
field_default_form_errors function modules/field/field.form.inc Transfer field-level validation errors to widgets.
FileManagedFileElementTestCase::$originalDisplayErrorsValue property modules/file/tests/file.test
FormValidationTestCase::testValidateLimitErrors function modules/simpletest/tests/form.test Tests partial form validation through #limit_validation_errors.
form_get_errors function includes/form.inc Returns an associative array of all errors if any.
form_test_limit_validation_errors_element_validate_test function modules/simpletest/tests/form_test.module Form element validation handler for the 'test' element.
form_test_limit_validation_errors_form function modules/simpletest/tests/form_test.module Builds a simple form with a button triggering partial validation.
form_test_limit_validation_errors_form_partial_submit function modules/simpletest/tests/form_test.module Form submit handler for the partial validation submit button.
install_database_errors function includes/install.core.inc Checks a database connection and returns any errors.
RequestSanitizerTest::$errors property modules/simpletest/tests/request_sanitizer.test Log of errors triggered during sanitization.
SystemValidTokenTest::$assertErrors property modules/system/system.test Flag to indicate whether PHP error reportings should be asserted.
UpgradePathTestCase::$upgradeErrors property modules/simpletest/tests/upgrade/upgrade.test Array of errors triggered during the upgrade process.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.