src/Koldy/Response/ResponseExceptionHandler.php
public function exec(): void
    {
        if (Application::route()->isAjax()) {
            // if is ajax
            $this->handleExceptionInAjax($this->e);
        } else {
            // normal request
            $this->handleExceptionInNormalRequest($this->e);
        }
    }
public function exec(): void
    {
        if (Application::route()->isAjax()) {
            // if is ajax
            $this->handleExceptionInAjax($this->e);
        } else {
            // normal request
            $this->handleExceptionInNormalRequest($this->e);
        }
    }
public function exec ( ) : void { if ( Application :: route ( ) -> isAjax ( ) ) { // if is ajax $ this -> handleExceptionInAjax ( $ this -> e ) ; } else { // normal request $ this -> handleExceptionInNormalRequest ( $ this -> e ) ; } }
Execute exception handler
@throws Exception
@throws Json\Exception
Execute exception handler