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

Breadcrumb

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

function Status::__construct

Same name in this branch
  1. 11.1.x vendor/composer/xdebug-handler/src/Status.php \Composer\XdebugHandler\Status::__construct()

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type string $message A developer-facing human readable error message. @type int $code The status code. }

Overrides Message::__construct

File

vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php, line 44

Class

Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Namespace

Opentelemetry\Proto\Trace\V1

Code

public function __construct($data = NULL) {
    \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce();
    parent::__construct($data);
}

API Navigation

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