phug-php/phug

View on GitHub
src/Phug/Compiler/CompilerException.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Phug;

use Phug\Util\Exception\LocatedException;

/**
 * Represents an exception that is thrown during the compiling process.
 */
class CompilerException extends LocatedException
{
    public static function message($message, array $details = [])
    {
        return static::getFailureMessage('compile', $message, $details);
    }
}