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

Breadcrumb

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

function Status::getCode

The status code.

Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;</code>

Return value

int

File

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

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 getCode() {
    return $this->code;
}

API Navigation

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