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

Breadcrumb

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

function Error::setRawMessage

Sets the line of the PHP file the error occurred in.

Parameters

string $message Error message:

File

vendor/nikic/php-parser/lib/PhpParser/Error.php, line 75

Class

Error

Namespace

PhpParser

Code

public function setRawMessage(string $message) : void {
    $this->rawMessage = $message;
    $this->updateMessage();
}

API Navigation

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