src/Koldy/Application.php
public static function terminateWithError(string $message, int $errorCode = 503): void
    {
        http_response_code($errorCode);
        header('Retry-After: 300'); // 300 seconds / 5 minutes
        print $message;
        exit(1);
    }
public static function terminateWithError(string $message, int $errorCode = 503): void
    {
        http_response_code($errorCode);
        header('Retry-After: 300'); // 300 seconds / 5 minutes
        print $message;
        exit(1);
    }
public static function terminateWithError ( string $ message , int $ errorCode = 503 ) : void { http_response_code ( $ errorCode ) ; header ( 'Retry-After: 300' ) ; // 300 seconds / 5 minutes print $ message ; exit ( 1 ) ; }
Terminate execution immediately - use it when there's no other way of recovering from error, usually
in boot procedure, when exceptions are not loaded yet and etc.

Some parts of framework use this method, that's why it's public. You should never get into case when
using this method would be recommended.

@param string $message
@param int $errorCode
Terminate execution immediately - use it when there s no other way of recovering from error usually in boot procedure when exceptions are not loaded yet and etc .