Files
EasySoft-ZenTaoPMS/api/v1/entries/error.php
T
2021-07-14 09:28:34 +08:00

16 lines
228 B
PHP

<?php
/**
* 禅道API的错误处理类
* 版本V1
*
* Display errors
* Version 1
*/
class errorEntry extends Entry
{
public function notFound()
{
$this->send(404, array('error' => 'not found'));
}
}