16 lines
217 B
PHP
16 lines
217 B
PHP
<?php
|
|
|
|
namespace Smarty;
|
|
|
|
/**
|
|
* Smarty exception class
|
|
*/
|
|
class Exception extends \Exception {
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function __toString() {
|
|
return ' --> Smarty: ' . $this->message . ' <-- ';
|
|
}
|
|
}
|