Blame view

vendor/codeception/base/src/Codeception/Exception/TestParseException.php 295 Bytes
8ec727c1   曹明   初始化代码提交
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
namespace Codeception\Exception;

class TestParseException extends \Exception
{
    public function __construct($fileName, $errors = null)
    {
        $this->message = "Couldn't parse test '$fileName'";
        if ($errors) {
            $this->message .= "\n$errors";
        }
    }
}