Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
2 / 2
ConnectionNotFound
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 __construct
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
1<?php
2
3namespace Qmp\Laravel\MongoJsExecutor\Exceptions;
4
5use Exception;
6
7
8class ConnectionNotFound extends Exception
9{
10    /**
11     * Undocumented variable
12     *
13     * @var string
14     */
15    protected $message = 'Connection not foud for database: ';
16
17    /**
18     * Undocumented function
19     *
20     * @param [type] $db
21     */
22    public function __construct($db) {
23        parent::__construct($this->message . $db);
24    }
25}