Files
kiri-core/kiri-engine/Error/ErrorInterface.php
T

29 lines
407 B
PHP
Raw Normal View History

2020-08-31 01:27:08 +08:00
<?php
/**
* Created by PhpStorm.
* User: admin
* Date: 2019-03-20
* Time: 10:25
*/
2020-10-29 18:17:25 +08:00
declare(strict_types=1);
2020-08-31 01:27:08 +08:00
2021-08-11 01:04:57 +08:00
namespace Kiri\Error;
2020-08-31 01:27:08 +08:00
/**
* Interface ErrorInterface
2021-08-11 01:04:57 +08:00
* @package Kiri\Kiri\Error
2020-08-31 01:27:08 +08:00
*/
interface ErrorInterface
{
/**
* @param $message
* @param $file
* @param $line
* @param int $code
* @return mixed
*/
2020-12-17 14:09:14 +08:00
public function sendError($message, $file, $line, $code = 500): mixed;
2020-08-31 01:27:08 +08:00
}