struct OpenTelemetry::API::Status
- OpenTelemetry::API::Status
- OpenTelemetry::API::AbstractStatus
- Struct
- Value
- Object
Defined in:
api/status.crConstructors
Instance Method Summary
-
#code : StatusCode
This is assumed to be implemented as a property in the SDK.
- #code=(code : StatusCode)
- #error!(message = nil)
-
#message : String
This is assumed to be implemented as a property in the SDK.
- #message=(message : String)
- #ok!(message = nil)
- #pb_status_code
- #to_json(json : JSON::Builder)
- #to_json
- #to_protobuf
- #unset!(message = nil)
Instance methods inherited from struct OpenTelemetry::API::AbstractStatus
code
code,
code=(code : StatusCode)
code=,
error!(message = nil)
error!,
message
message,
message=(message : String)
message=,
ok!(message = nil)
ok!,
pb_status_code
pb_status_code,
to_json(json : JSON::Builder)to_json to_json, to_protobuf to_protobuf, unset!(message = nil) unset!
Constructor methods inherited from struct OpenTelemetry::API::AbstractStatus
new(code = StatusCode::Unset, message = "")
new
Constructor Detail
def self.new(code : OpenTelemetry::API::AbstractStatus::StatusCode = StatusCode::Unset, message : String = "")
#
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.
def message : String
#
Description copied from struct OpenTelemetry::API::AbstractStatus
This is assumed to be implemented as a property in the SDK.