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 = "") #

Instance Method Detail

abstract def code #

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


abstract def code=(code : StatusCode) #

abstract def error!(message = nil) #

abstract def message #

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


abstract def message=(message : String) #

abstract def ok!(message = nil) #

abstract def pb_status_code #

abstract def to_json(json : JSON::Builder) #

abstract def to_json #

abstract def to_protobuf #

abstract def unset!(message = nil) #