abstract struct OpenTelemetry::API::AbstractStatus

Direct Known Subclasses

Defined in:

api/abstract_status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(code = StatusCode::Unset, message = "") #

[View source]

Instance Method Detail

abstract def code #

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


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

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

[View source]
abstract def message #

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


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

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

[View source]
abstract def pb_status_code #

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

[View source]
abstract def to_json #

[View source]
abstract def to_protobuf #

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

[View source]