File Coverage

OpenQA/Exceptions.pm
Criterion Covered Total %
statement 6 6 100.0
total 6 6 100.0


line stmt code
1   # Copyright 2016-2018 SUSE LLC
2   # SPDX-License-Identifier: GPL-2.0-or-later
3    
4    
5   use Mojo::Base -strict, -signatures;
6 68  
  68  
  68  
7   use Exception::Class (
8   'OpenQA::Exception::InternalException' => {
9 68 description => 'internal errors not for the user'
10   },
11   'OpenQA::Exception::FailedNeedle' => {
12   description => 'assert_screen failed',
13   fields => 'tags',
14   },
15   'OpenQA::Exception::VNCProtocolError' => {
16   description => 'VNC Server interrupted connection'
17   },
18   'OpenQA::Exception::VNCSetupError' => {
19   description => 'Failed to connect to VNC Server'
20   },
21   'OpenQA::Exception::SSHConnectionError' => {
22   description => 'Failed to connect to SSH Server'
23   },
24   'OpenQA::Exception::ConsoleReadError' => {
25   description => 'Failed to receive data from console'
26   },
27   );
28 68  
  68  
29   1;