Module Opentelemetry_client.Export_error

Error that can occur during export

type attempt_descr = string
type t = [
  1. | `Status of int * Opentelemetry.Proto.Status.status * attempt_descr
  2. | `Failure of string
  3. | `Sysbreak
]
val str_to_hex : string -> string
val report_err : level:[ `Auto | `Debug ] -> t -> unit

Report the error on stderr.

val decode_invalid_http_response : attempt_descr:attempt_descr -> code:int -> url:string -> string -> t