%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/kma/vendor/botman/botman/src/Interfaces/
Upload File :
Create Path :
Current File : /home/ugotscom/kma/vendor/botman/botman/src/Interfaces/ExceptionHandlerInterface.php

<?php

namespace BotMan\BotMan\Interfaces;

use BotMan\BotMan\BotMan;

interface ExceptionHandlerInterface
{
    /**
     * Handle an exception.
     *
     * @param \Throwable $e
     * @param BotMan $bot
     * @return mixed
     */
    public function handleException($e, BotMan $bot);

    /**
     * Register a new exception type.
     *
     * @param string $exception
     * @param callable $closure
     * @return mixed
     */
    public function register(string $exception, callable $closure);
}

Zerion Mini Shell 1.0