LCOV - code coverage report
Current view: top level - lib/src/export - otlp_http_exception.dart (source / functions) Coverage Total Hit
Test: lcov.info Lines: 100.0 % 1 1
Test Date: 2026-10-11 16:35:14 Functions: - 0 0

            Line data    Source code
       1              : // Copyright The OpenTelemetry Authors
       2              : // SPDX-License-Identifier: Apache-2.0
       3              : 
       4              : import 'package:http/http.dart' as http;
       5              : 
       6              : /// Thrown by the OTLP/HTTP exporters when the collector answers with a
       7              : /// non-2xx status. [statusCode] decides whether the export is retried.
       8              : class OtlpHttpException extends http.ClientException {
       9              :   /// HTTP status code of the failed export response.
      10              :   final int statusCode;
      11              : 
      12            7 :   OtlpHttpException(super.message, this.statusCode, [super.uri]);
      13              : }
        

Generated by: LCOV version 2.0-1