mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
22 lines
322 B
OCaml
22 lines
322 B
OCaml
(** status.proto Types *)
|
|
|
|
|
|
|
|
(** {2 Types} *)
|
|
|
|
type status = {
|
|
code : int32;
|
|
message : bytes;
|
|
details : bytes list;
|
|
}
|
|
|
|
|
|
(** {2 Default values} *)
|
|
|
|
val default_status :
|
|
?code:int32 ->
|
|
?message:bytes ->
|
|
?details:bytes list ->
|
|
unit ->
|
|
status
|
|
(** [default_status ()] is the default value for type [status] *)
|