LCOV - code coverage report
Current view: top level - src/exception - mqtt_client_invalid_header_exception.dart (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 4 4 100.0 %
Date: 2017-10-09 Functions: 0 0 -

          Line data    Source code
       1             : /*
       2             :  * Package : mqtt_client
       3             :  * Author : S. Hamblett <steve.hamblett@linux.com>
       4             :  * Date   : 31/05/2017
       5             :  * Copyright :  S.Hamblett
       6             :  */
       7             : 
       8             : part of mqtt_client;
       9             : 
      10             : /// Exception thrown when processing a header that is invalid in some way.
      11             : class InvalidHeaderException implements Exception {
      12             :   String _message;
      13             : 
      14           2 :   InvalidHeaderException(String text) {
      15           2 :     _message =
      16           2 :     "mqtt-client::InvalidHeaderException: $text";
      17             :   }
      18             : 
      19             :   @override
      20           1 :   String toString() => _message;
      21             : }

Generated by: LCOV version 1.10