struct OpenTelemetry::Status

Defined in:

status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(code : OpenTelemetry::API::AbstractStatus::StatusCode = StatusCode::Unset, message : String = "") #

[View source]

Instance Method Detail

def code : StatusCode #
Description copied from struct OpenTelemetry::API::AbstractStatus

This is assumed to be implemented as a property in the SDK.


[View source]
def code=(code : StatusCode) #

[View source]
def error!(message = nil) #

[View source]
def message : String #
Description copied from struct OpenTelemetry::API::AbstractStatus

This is assumed to be implemented as a property in the SDK.


[View source]
def message=(message : String) #

[View source]
def ok!(message = nil) #

[View source]
def pb_status_code #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def to_json #

[View source]
def to_protobuf #

[View source]
def unset!(message = nil) #

[View source]